Skip to content

Commit 4fee7d4

Browse files
committed
Use conda env instead
1 parent 58896f1 commit 4fee7d4

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Jupyter Book (via myst) GitHub Pages Deploy
1+
name: GitHub Pages Deploy
22

33
on:
44
push:
@@ -10,7 +10,7 @@ permissions:
1010
pages: write
1111
id-token: write
1212
concurrency:
13-
group: "pages"
13+
group: pages
1414
cancel-in-progress: false
1515

1616
jobs:
@@ -21,15 +21,20 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v5
24+
2425
- name: Setup Pages
2526
uses: actions/configure-pages@v5
26-
- uses: actions/setup-node@v5
27+
28+
- name: Setup Python
29+
uses: mamba-org/setup-micromamba@v2
2730
with:
28-
node-version: 18.x
29-
- name: Install Jupyter Book (via myst)
30-
run: npm install -g jupyter-book
31+
environment-file: environment.yml
32+
cache-environment: true
33+
3134
- name: Build HTML Assets
3235
run: jupyter-book build --html
36+
shell: micromamba-shell {0}
37+
3338
- name: Upload artifact
3439
uses: actions/upload-pages-artifact@v4
3540
with:

0 commit comments

Comments
 (0)