Skip to content

Commit 82c1210

Browse files
committed
Adds github pages actions workflow
1 parent f709a85 commit 82c1210

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: "Pull Request Docs Check"
2+
on:
3+
- push
4+
5+
jobs:
6+
docs:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: ammaraskar/sphinx-action@master
11+
with:
12+
docs-folder: "docs/"
13+
- name: Deploy
14+
uses: peaceiris/actions-gh-pages@v3
15+
if: github.ref == 'refs/heads/dev'
16+
with:
17+
github_token: ${{ secrets.GITHUB_TOKEN }}
18+
publish_dir: docs/_build/html

0 commit comments

Comments
 (0)