Skip to content

Commit

Permalink
add doc deploy gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerkuou committed Dec 23, 2024
1 parent 74d738f commit 10584ba
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/doc_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Deploy documentation when new release created

name: Deploy docs

on:
release:
types:
- published


jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install .[docs]
- name: Deploy docs
run: mkdocs gh-deploy --force

0 comments on commit 10584ba

Please sign in to comment.