Skip to content

Commit 5a146ab

Browse files
Publish documentation with CI/CD (#2)
* feat: Publish docs * feat: add workflow_dispatch * chore: workflow cleanup
1 parent 0a24547 commit 5a146ab

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/docs.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
docs:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-python@v4
15+
- run: pip install --upgrade pip && pip install -r requirements/requirements-dev.txt
16+
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
17+
- name: Publish docs
18+
run: mkdocs gh-deploy

0 commit comments

Comments
 (0)