mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-16 11:53:40 +08:00
Add GH Action to deploy documentation (#8)
This commit is contained in:
25
.github/workflows/documentation.yml
vendored
Normal file
25
.github/workflows/documentation.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Update documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python 3.7
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pipenv
|
||||
pipenv install --dev
|
||||
- name: Build and deploy documentation
|
||||
run: |
|
||||
pipenv run mkdocs gh-deploy
|
Reference in New Issue
Block a user