Merge pull request #284 from expobrain/dependabot/pip/pytest-8.3.2 #263
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: Publish docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.ref_name }}-docs | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Cache multiple Pips | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/pip | |
.venv | |
key: ${{ runner.os }}-3.10-${{ hashFiles('**/poetry.lock') }} | |
- run: pip install poetry~=1.2 | |
- run: poetry config virtualenvs.in-project true | |
- run: poetry install --sync | |
- run: poetry run mkdocs gh-deploy --force |