Merge pull request #75 from openstates/plural-open-matrix-v2-deprecation #36
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 Docs | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
steps: | |
# Python & dependency installation | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: setup Python | |
uses: actions/setup-python@v2 | |
- name: install Poetry | |
uses: snok/[email protected] | |
- name: set poetry config path | |
run: poetry config virtualenvs.path ~/.virtualenvs | |
- name: install dependencies | |
run: poetry install | |
- name: build with mkdocs | |
run: poetry run mkdocs gh-deploy --force | |
runs-on: ubuntu-20.04 |