mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2026-10-28 00:04:20 +08:00
Refactor mkdocs publish.
This commit is contained in:
1 parent
ddea4912ad
commit
e4e5ad84ce
1 file changed
+6
-6
@@ -41,9 +41,9 @@ jobs:
|
||||
with:
|
||||
requirements: requirements.txt
|
||||
# Build docs
|
||||
- run: mkdocs build
|
||||
# Publish to pages.
|
||||
- uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./site
|
||||
- uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CUSTOM_DOMAIN: cook.aiurs.co
|
||||
CONFIG_FILE: mkdocs.yml
|
||||
REQUIREMENTS: requirements.txt
|
||||
Reference in new issue
Block a user