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

View File

@@ -25,11 +25,12 @@ jobs:
extended: true
- name: Build
run: hugo --minify
run: hugo --minify --destination public --source docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_dir: ./docs/public
publish_branch: gh-pages

3
.gitignore vendored
View File

@@ -6,4 +6,5 @@ downloads/
session.*
cache.db
.vscode/
temp/
temp/
.hugo_build.lock