Skip to content

Generate Documentation #1036

Generate Documentation

Generate Documentation #1036

---
name: Generate Documentation
on:
workflow_run:
workflows:
- Python Package Semantic Release
types:
- completed
branches:
- main
jobs:
docs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: block
allowed-endpoints: >
github.com:443
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Setup Dependencies
uses: ./.github/actions/setup-poetry
- name: Setup git credentials
uses: ./.github/actions/setup-git
- name: Publish docs
run: "poetry run mkdocs gh-deploy --message 'feat: release {version}'"