Skip to content

Merge pull request #68 from Trusera/dependabot/github_actions/actions… #10

Merge pull request #68 from Trusera/dependabot/github_actions/actions…

Merge pull request #68 from Trusera/dependabot/github_actions/actions… #10

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
paths:
- 'docs/**'
- 'mkdocs.yml'
- '.github/workflows/docs.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
deploy:
name: Deploy docs
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.12"
cache: 'pip'
- name: Install dependencies
run: pip install -e ".[docs]"
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force