File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build JupyterBook
2+
3+ on :
4+ workflow_run :
5+ workflows : ["Sync JupyterBook"] # Must match the exact name of your sync workflow
6+ types : [completed]
7+ workflow_dispatch :
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ defaults :
13+ run :
14+ shell : bash -l {0}
15+ steps :
16+
17+ - name : Checkout files in repo
18+ uses : actions/checkout@v3
19+
20+ - name : Setup Miniconda
21+ uses : conda-incubator/setup-miniconda@v2
22+ with :
23+ activate-environment : pylipd
24+ environment-file : environment.yml
25+ python-version : " 3.11"
26+ auto-activate-base : false
27+
28+ - name : Install JupyterBook
29+ run : |
30+ conda activate pylipd
31+ pip install jupyter-book>=0.7.0b
32+ conda list
33+
34+ - name : Build the Book
35+ run : |
36+ jupyter-book build .
37+
38+ - name : GitHub Pages Actions
39+ uses : peaceiris/actions-gh-pages@v3.6.1
40+ with :
41+ github_token : ${{ secrets.GITHUB_TOKEN }}
42+ publish_dir : ./_build/html
You can’t perform that action at this time.
0 commit comments