Update waf.md #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: Build and publish docs | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install Poetry | |
run: | | |
pip install -U pip | |
pip install poetry | |
poetry config virtualenvs.create false | |
poetry install --with docs | |
- name: Deploy to GitHub Pages | |
run: poetry run mkdocs gh-deploy --force |