feat: force occupation by number of states #51
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: Documentation | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
- name: Install documentation dependencies | |
run: pip3 install -r doc/requirements.txt | |
- name: Build documentation | |
run: cd doc && make html | |
- name: Configure GitHub Pages | |
uses: actions/configure-pages@v3 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: ./doc/_build/html/ | |
deploy: | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
steps: | |
- id: deployment | |
uses: actions/deploy-pages@v2 |