mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-09-05 23:56:50 +08:00
ci(docs): fix ci
This commit is contained in:
@@ -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
|
||||||
@@ -7,3 +7,4 @@ session.*
|
|||||||
cache.db
|
cache.db
|
||||||
.vscode/
|
.vscode/
|
||||||
temp/
|
temp/
|
||||||
|
.hugo_build.lock
|
||||||
Reference in New Issue
Block a user