Skip to content

Commit

Permalink
ci: add doc publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjg committed Apr 27, 2023
1 parent 949c74f commit 7523a9b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish Documentation to GitHub Pages

on:
release:
types: [published]

permissions:
contents: write

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
cache: 'pip'

- name: Install dependencies
run: pip install ".[docs]"

- run: mkdocs gh-deploy --force

0 comments on commit 7523a9b

Please sign in to comment.