Skip to content

Commit e8feed1

Browse files
committed
fix: 修复 GitHub Actions 部署配置,指定 publish_dir 为 docs
1 parent 3551d07 commit e8feed1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,12 @@ jobs:
3737
- name: "Build"
3838
run: hugo --gc --minify
3939

40+
- name: "Build"
41+
run: hugo --gc --minify --destination docs
42+
4043
- name: "Deploy"
4144
uses: peaceiris/actions-gh-pages@v3
4245
if: ${{ github.ref == 'refs/heads/master' }} # Deploy in master branch only
4346
with:
4447
github_token: ${{ secrets.GITHUB_TOKEN }}
48+
publish_dir: ./docs

0 commit comments

Comments
 (0)