ci(docs): fix ci

This commit is contained in:
krau
2025-06-16 16:01:50 +08:00
parent 4206d1fe96
commit 53e6d7cc54
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -25,11 +25,12 @@ jobs:
extended: true extended: true
- name: Build - name: Build
run: hugo --minify run: hugo --minify --destination public --source docs
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public publish_dir: ./docs/public
publish_branch: gh-pages
+1
View File
@@ -7,3 +7,4 @@ session.*
cache.db cache.db
.vscode/ .vscode/
temp/ temp/
.hugo_build.lock