File tree Expand file tree Collapse file tree 3 files changed +2865
-9
lines changed
Expand file tree Collapse file tree 3 files changed +2865
-9
lines changed Original file line number Diff line number Diff line change @@ -37,26 +37,36 @@ concurrency:
3737
3838jobs :
3939 build-and-deploy :
40- runs-on : ubuntu-latest
40+ runs-on : self-hosted
4141 steps :
4242 - name : Checkout repository
4343 uses : actions/checkout@v4
44- - uses : actions/setup-node@v4
4544 with :
46- node-version : 24
45+ clean : true
46+ - name : Clean up previous pixi installation
47+ run : |
48+ rm -rf /containers/github-actions/.pixi || true
49+ - name : Setup pixi
50+ uses : prefix-dev/setup-pixi@v0.8.1
51+ with :
52+ pixi-version : latest
53+ cache : true
54+ - name : Setup dependencies
55+ run : |
56+ pixi install
4757 - 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"
58+ run : |
59+ pixi run npm install -g mystmd
5160 - name : Build HTML Assets
52- # run: (cd notebooks; myst build --execute --html)
53- run : export PYTHONPATH=$(pwd)/modules; myst build --execute --html
61+ run : |
62+ export PYTHONPATH=$(pwd)/modules
63+ pixi run build-docs
5464 - name : Setup Pages
5565 uses : actions/configure-pages@v3
5666 - name : Upload artifact
5767 uses : actions/upload-pages-artifact@v3
5868 with :
59- path : ' ./notebooks/ _build/html'
69+ path : ' ./_build/html'
6070 - name : Deploy to GitHub Pages
6171 id : deployment
6272 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments