File tree 1 file changed +16
-7
lines changed
1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Deploy to Github Pages
2
2
3
- on : [push]
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
4
7
5
8
jobs :
6
- build :
7
-
9
+ build-and-deploy :
8
10
runs-on : ubuntu-latest
9
-
10
11
steps :
11
- - uses : actions/checkout@v1
12
- - name : Deploy to GitHub Pages - Python
13
- uses : JacksonMaxfield/github-pages-deploy-action-python@2.1.0
12
+ - name : Checkout
13
+ uses : actions/checkout@master
14
+
15
+ - name : Build and Deploy
16
+ uses : JacksonMaxfield/github-pages-deploy-action-python@master
17
+ env :
18
+ ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
19
+ BASE_BRANCH : master # The branch the action should deploy from.
20
+ BRANCH : gh-pages # The branch the action should deploy to.
21
+ FOLDER : docs/_build/html # The folder the action should deploy. This example folder is generated by Sphinx
22
+ BUILD_SCRIPT : pip install .[all] && make docs-build && touch docs/_build/html/.nojekyll # The build script the action should run prior to deploying.
You can’t perform that action at this time.
0 commit comments