Disable behaviors entirely if --behaviors array is empty (#672) #23
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-publish | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'docs/**' | |
permissions: | |
contents: write | |
jobs: | |
deploy_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: build docker image (for getting cli) | |
run: docker compose build | |
- name: generate cli | |
run: docs/gen-cli.sh | |
- run: pip install mkdocs-material | |
- run: cd docs/ && mkdocs gh-deploy --force |