Skip to content

Commit 5336360

Browse files
authored
Publish docs via GH actions (#22)
* Publish docs via GH actions * Update publish-docs.yaml
1 parent 3fefc8d commit 5336360

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/publish-docs.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: publish-docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
name: Deploy docs
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout main
14+
uses: actions/checkout@v2
15+
- name: Deploy docs
16+
# Use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to exclude mkdocs-material theme
17+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
CONFIG_FILE: docs/mkdocs.yml
21+
REQUIREMENTS: requirements/build-docs.txt

0 commit comments

Comments
 (0)