Skip to content

Update gh-pages deploy task to use poetry #2

Update gh-pages deploy task to use poetry

Update gh-pages deploy task to use poetry #2

Workflow file for this run

name: mkdocs-deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Dependencies
run: poetry install --no-root
- name: Deploy docs
run: poetry run mkdocs gh-deploy --force --verbose