Skip to content

Commit 55cfc14

Browse files
committed
adopt latest version of myst-to-pages.yml
1 parent 3ad91bb commit 55cfc14

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/myst-to-pages.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,13 @@ jobs:
4343
uses: actions/checkout@v4
4444
- uses: actions/setup-node@v4
4545
with:
46-
node-version: 22
47-
# - name: Install MyST Markdown
48-
# run: npm install -g mystmd
49-
- name: Checkout MyST repo
50-
uses: actions/checkout@v4
51-
with:
52-
repository: parmentelat/mystmd
53-
ref: feat/prototype-hidden-in-html
54-
path: mystmd
55-
- name: Install MyST
56-
working-directory: ./mystmd
57-
run: npm install && npm run build
46+
node-version: 24
47+
- name: Install MyST Markdown
48+
run: npm install -g mystmd
5849
- name: Install requirements.txt
59-
run: pip install -r requirements.txt
50+
run: "if [ -f requirements.txt ]; then pip install -r requirements.txt; fi"
6051
- name: Build HTML Assets
61-
run: (cd notebooks; ../mystmd/node_modules/mystmd/dist/myst.cjs build --execute --html)
52+
run: (cd notebooks; myst build --execute --html)
6253
- name: Setup Pages
6354
uses: actions/configure-pages@v3
6455
- name: Upload artifact

0 commit comments

Comments
 (0)