File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build & Publish
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ tests :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v2
12+ - name : Setup Anaconda
13+ uses : goanpeca/setup-miniconda@v1
14+ with :
15+ auto-update-conda : true
16+ auto-activate-base : true
17+ miniconda-version : ' latest'
18+ python-version : 3.7
19+ environment-file : environment.yml
20+ activate-environment : qe-lectures
21+ - name : Install Build Dependencies
22+ shell : bash -l {0}
23+ run : |
24+ pip install sphinx-book-theme myst-nb
25+ - name : Display Conda Environment Versions
26+ shell : bash -l {0}
27+ run : conda list
28+ - name : Display Pip Versions
29+ shell : bash -l {0}
30+ run : pip list
31+ - name : Build HTML
32+ shell : bash -l {0}
33+ run : |
34+ make html
35+ - name : Deploy
36+ uses : peaceiris/actions-gh-pages@v3
37+ with :
38+ github_token : ${{ secrets.GITHUB_TOKEN }}
39+ publish_dir : _build/html/
You can’t perform that action at this time.
0 commit comments