File tree Expand file tree Collapse file tree 1 file changed +24
-8
lines changed
Expand file tree Collapse file tree 1 file changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -37,24 +37,40 @@ concurrency:
3737
3838jobs :
3939 build-and-deploy :
40- runs-on : ubuntu-latest
40+ runs-on : self-hosted
41+ container :
42+ image : ubuntu:latest
4143 steps :
4244 - name : Checkout repository
43- uses : actions/checkout@v4
44- - uses : actions/setup-node@v4
45+ uses : actions/checkout@v5
46+ - name : setup lsb-release
47+ run : |
48+ apt-get update
49+ aptget install -y lsb-release
50+ - name : Setup Python
51+ uses : actions/setup-python@v6
52+ with :
53+ python-version : ' 3.14'
54+ cache : ' pip'
55+ - name : " Python requirements.txt"
56+ run : |
57+ if [ -f requirements.txt ]; then
58+ pip install -r requirements.txt
59+ fi
60+ - name : Setup nodejs
61+ uses : actions/setup-node@v5
4562 with :
4663 node-version : 24
4764 - name : Install MyST Markdown
48- run : npm install -g mystmd
49- - name : Install requirements.txt
50- run : " if [ -f requirements.txt ]; then pip install -r requirements.txt; fi"
65+ run : |
66+ npm install -g mystmd
5167 - name : Build HTML Assets
5268 # run: (cd notebooks; myst build --execute --html)
5369 run : export PYTHONPATH=$(pwd)/modules; myst build --execute --html
5470 - name : Setup Pages
55- uses : actions/configure-pages@v3
71+ uses : actions/configure-pages@v5
5672 - name : Upload artifact
57- uses : actions/upload-pages-artifact@v3
73+ uses : actions/upload-pages-artifact@v4
5874 with :
5975 path : ' ./notebooks/_build/html'
6076 - name : Deploy to GitHub Pages
You can’t perform that action at this time.
0 commit comments