refactor: allow cumulative update of response behaviour between handl… #678
This file contains hidden or 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 site | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5.5.0 | |
with: | |
python-version: 3.x | |
- name: Install mkdocs | |
env: | |
PIP_CONSTRAINT: ./docs/infrastructure/constraints.txt | |
run: pip install -r ./docs/infrastructure/requirements.txt | |
- name: Build static site | |
run: mkdocs build | |
- name: Deploy to GitHub Pages | |
if: ${{ github.ref_name == 'main' }} | |
run: mkdocs gh-deploy --force |