Skip to content

Commit 1143288

Browse files
committed
github pages workflow fix
1 parent c1e16e1 commit 1143288

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/gh-pages.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
# extended: true
2727

2828
- name: Build
29-
run: cd src && hugo --minify
29+
run: cd src && hugo --minify && cd ..
3030

3131
- name: Deploy
3232
uses: peaceiris/actions-gh-pages@v3
3333
if: github.ref == 'refs/heads/gh-pages'
3434
with:
3535
github_token: ${{ secrets.GITHUB_TOKEN }}
36-
publish_dir: ./public
36+
publish_dir: .

0 commit comments

Comments
 (0)