File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 deploy :
1010 runs-on : ubuntu-latest
11+ permissions :
12+ pages : write
13+ id-token : write
1114
1215 steps :
1316 - name : Checkout repository
1417 uses : actions/checkout@v4
1518
16- - name : Set up Python
17- uses : actions/setup-python@v4
19+ - name : Set up Python 3.11
20+ uses : actions/setup-python@v5
1821 with :
19- python-version : ' 3.9'
22+ python-version : ' 3.11'
23+ cache : pip
2024
2125 - name : Install dependencies
2226 run : |
2327 pip install -U pip
24- pip install jupyter-book ghp-import
28+ pip install -r requirements.txt
2529
2630 - name : Build the Jupyter Book
27- run : jupyter-book build --builder dirhtml TeSS_docs
31+ run : jupyter-book build --builder dirhtml TeSS_docs/
32+
33+ - name : Upload artifact
34+ uses : actions/upload-artifact@v3
35+ with :
36+ path : " _build/dirhtml"
2837
2938 - name : Deploy to GitHub Pages
30- run : |
31- ghp-import -n -p -f TeSS_docs/_build/dirhtml
39+ id : deployment
40+ uses : actions/deploy-pages@v4
41+ # run: |
42+ # ghp-import -n -p -f TeSS_docs/_build/dirhtml
You can’t perform that action at this time.
0 commit comments