docs: clean up docs site for next release #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs | |
# this workflow requires: | |
# - an mkdocs config file (`mkdocs.yml`) | |
# - website dependencies in `docs/requirements.txt` | |
on: | |
workflow_dispatch: | |
release: | |
types: | |
- published | |
push: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
- "**.md" | |
- .github/workflows/docs-mkdocs.yml | |
- mkdocs.yml | |
jobs: | |
mkdocs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: CCBR/actions/[email protected] | |
with: | |
github-token: ${{ github.token }} |