Skip to content

Bump gitpython from 3.1.31 to 3.1.32 in /docs (#53) #12

Bump gitpython from 3.1.31 to 3.1.32 in /docs (#53)

Bump gitpython from 3.1.31 to 3.1.32 in /docs (#53) #12

Workflow file for this run

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@v2
with:
fetch-depth: 0 # Necessary to get tags
- uses: actions/setup-python@v2
with:
python-version: "3.8"
- uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
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