mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-11-03 05:27:06 +08:00
Fix documentation workflow
This commit is contained in:
11
.github/workflows/documentation.yml
vendored
11
.github/workflows/documentation.yml
vendored
@ -20,6 +20,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pipenv
|
python -m pip install --upgrade pipenv
|
||||||
pipenv install --dev
|
pipenv install --dev
|
||||||
- name: Build and deploy documentation
|
- name: Build
|
||||||
run: |
|
run: mkdocs build
|
||||||
pipenv run mkdocs gh-deploy
|
- name: Deploy
|
||||||
|
uses: peaceiris/actions-gh-pages@v2.5.0
|
||||||
|
env:
|
||||||
|
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
|
PUBLISH_BRANCH: gh-pages
|
||||||
|
PUBLISH_DIR: ./site
|
||||||
|
|||||||
Reference in New Issue
Block a user