Skip to content

Commit

Permalink
ci: add workflow to publish mkdocs content to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gvauter committed Aug 6, 2024
1 parent 9d94a26 commit f30f6e1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: publish-docs
on:
push:
branches:
- main
paths:
- 'mkdocs.yml'
- 'docs/**'

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force

0 comments on commit f30f6e1

Please sign in to comment.