Skip to content

Commit

Permalink
Add documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Dalton committed Apr 11, 2024
1 parent a65e571 commit b10a225
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ci


on:
- workflow_dispatch

permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
pip install hatch-mkdocs
- name: Build docs
hatch run docs:build
- name: Deploy docs
hatch run docs:deploy

0 comments on commit b10a225

Please sign in to comment.