Skip to content

Commit

Permalink
Create docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
achtsnits authored Jun 18, 2024
1 parent 5138556 commit 1d42509
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: docs
on:
push:
branches:
- develop
- main
paths:
# Only rebuild website when docs have changed
- 'README.md'
- 'docs/**'
- 'mkdocs.yml'
- .github/**

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install dependencies and build
run: |
pip install -r docs/requirements.txt
mkdocs gh-deploy --force

0 comments on commit 1d42509

Please sign in to comment.