handle empty contraction list in PathInfo (#229) #111
Workflow file for this run
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 | |
pull_request: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Install | |
run: | | |
pip install -r docs/requirements.yml | |
pip install -e . | |
- name: Build Docs | |
run: mkdocs build | |
# Only deploy if master, otherwise just build for testing | |
- name: Deploy | |
if: endsWith(github.ref, '/master') | |
run: mkdocs gh-deploy --force |