Bump certifi from 2023.7.22 to 2024.7.4 in /docs (#81) #19
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: Deploy Docs to Github Pages | |
on: | |
push: | |
paths: | |
- docs/** | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
docs-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Necessary to get tags | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- uses: snok/install-poetry@v1 | |
with: | |
version: 1.8.0 | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
installer-parallel: true | |
- name: Load cached venv | |
id: cached-poetry-dependencies | |
uses: actions/cache@v4 | |
with: | |
path: .venv | |
key: venv-doc-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/docs/poetry.lock') }} | |
- name: Install Dependencies | |
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | |
run: | | |
cd docs | |
poetry install --no-interaction | |
- name: Deploy to Github | |
run: | | |
cd docs | |
poetry run mkdocs gh-deploy |