Skip to content

Bump actions/checkout from 5 to 6 in the github-actions group (#50) #17

Bump actions/checkout from 5 to 6 in the github-actions group (#50)

Bump actions/checkout from 5 to 6 in the github-actions group (#50) #17

Workflow file for this run

name: Publish documentation to GitHub Pages
on:
workflow_call:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: 3.12
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install dependencies
run: pip install mkdocs-material mkdocstrings[python]
- name: Publish to GitHub Pages
run: mkdocs gh-deploy --force