From 114328861d322a5eee2e1beecd26078cef306200 Mon Sep 17 00:00:00 2001 From: Kapil Verma Date: Mon, 5 Dec 2022 13:35:22 +0530 Subject: [PATCH] github pages workflow fix --- .github/workflows/gh-pages.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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