Skip to content

Update publish-docs.yml (#75) #17

Update publish-docs.yml (#75)

Update publish-docs.yml (#75) #17

Workflow file for this run

name: Publish docs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install --no-interaction --no-root
- name: Deploy Docs
run: |
git pull
poetry run mkdocs gh-deploy