diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 7a9f7c58..6865261b 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -26,11 +26,11 @@ jobs: # extended: true - name: Build - run: cd src && hugo --minify + run: cd src && hugo --minify && cd .. - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: github.ref == 'refs/heads/gh-pages' with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public \ No newline at end of file + publish_dir: . \ No newline at end of file