mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-11-01 18:48:14 +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: |
|
||||
python -m pip install --upgrade pipenv
|
||||
pipenv install --dev
|
||||
- name: Build and deploy documentation
|
||||
run: |
|
||||
pipenv run mkdocs gh-deploy
|
||||
- name: Build
|
||||
run: mkdocs build
|
||||
- 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