Code reuse between eval and sync API #197
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: docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: install dependencies | |
run: | | |
pip install mkdocs-material | |
pip install mkdocs-minify-plugin | |
pip install mkdocs-redirects | |
pip install mkdocs-git-revision-date-localized-plugin | |
pip install mkdocs-git-committers-plugin-2 | |
pip install mkdocs-git-authors-plugin | |
pip install -e . | |
- name: generate config params doc | |
run: bash ./docs/cfg-params.sh | |
- name: deploy the website | |
run: mkdocs gh-deploy --force |