Skip to content

Commit 620d662

Browse files
authored
Action for gh-pages
1 parent 75de2f4 commit 620d662

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: github pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- uses: ammaraskar/sphinx-action@master
15+
with:
16+
docs-folder: "docs/"
17+
18+
- name: Deploy
19+
uses: peaceiris/actions-gh-pages@v3
20+
with:
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
publish_dir: ./docs/_build/html

0 commit comments

Comments
 (0)