File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Documentation
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v1
10+ - uses : ammaraskar/sphinx-action@master
11+ with :
12+ docs-folder : doc/
13+ - name : Upload artifact
14+ # Automatically uploads an artifact from the './_site' directory by default
15+ uses : actions/upload-pages-artifact@v1
16+ with :
17+ path : doc/_build/html/
18+
19+ deploy :
20+ if : github.ref == 'refs/heads/master'
21+ runs-on : ubuntu-latest
22+ environment :
23+ name : github-pages
24+ url : ${{ steps.deployment.outputs.page_url }}
25+ needs : build
26+ steps :
27+ - name : Deploy to GitHub Pages
28+ id : deployment
29+ uses : actions/deploy-pages@v1
Original file line number Diff line number Diff line change 1+ sphinx_rtd_theme
You can’t perform that action at this time.
0 commit comments