We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1c791c commit d55d7e8Copy full SHA for d55d7e8
.github/workflows/docs.yml
@@ -0,0 +1,25 @@
1
+# docs.yaml
2
+name: Auto update docs for master branch
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+jobs:
8
+ build-and-deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@master
13
+
14
+ - name: Build and Deploy
15
+ uses: JamesIves/github-pages-deploy-action@master
16
+ env:
17
+ ACCESS_TOKEN: ${{ secrets.BUILD_DOCS_ACCESS_TOKEN }}
18
+ BRANCH: gh-pages
19
+ FOLDER: html-site
20
+ BUILD_SCRIPT: |
21
+ apt-get install python3-pip -y &&
22
+ pip3 install sphinx &&
23
+ pip3 install sphinxcontrib-napoleon &&
24
+ pip3 install m2r &&
25
+ cd docs && make html && mv _build/html/ ../html-site && cd ..
0 commit comments