diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 115e97e..ac9d604 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -13,7 +13,7 @@ jobs: with: submodules: "true" - name: Copy exampleSite Files - run: cp -v exampleSite/hugo.yaml . + run: mkdir themes/hugo-maintenance && cp -v ./* !themes/hugo-maintenance && cp -v /themes/hugo-maintenance/exampleSite/hugo.yaml . - name: Run build task run: hugo --minify - name: Deploy to Server @@ -24,4 +24,4 @@ jobs: SOURCE: "public/" REMOTE_HOST: ${{ secrets.REMOTE_HOST }} REMOTE_USER: ${{ secrets.REMOTE_USER }} - TARGET: ${{ secrets.REMOTE_TARGET }} \ No newline at end of file + TARGET: ${{ secrets.REMOTE_TARGET }}