add prefix to auth env variables (#402) #266
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Builds and publishes docs to GitHub pages | |
on: | |
push: | |
branches: [main] | |
paths: | |
- docs/** | |
- .github/workflows/publish-docs.yml | |
workflow_dispatch: | |
jobs: | |
build-and-publish-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: install api | |
run: pip install "api/.[test]" | |
- name: install client | |
run: pip install "client/.[test]" | |
- name: install mkdocs and plug-ins | |
run: pip install mkdocs-material mkdocstrings mkdocs-include-dir-to-nav mkdocstrings-python mkdocs-swagger-ui-tag | |
- name: generate new swagger docs | |
run: python docs/scripts/generate_swagger_docs.py | |
- name: deploy docs to gh | |
run: mkdocs gh-deploy |