Skip to content

Commit 7bd307d

Browse files
committed
temporarily use patched mystmd for hidden pages
1 parent 154cbc3 commit 7bd307d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,21 @@ jobs:
4444
- uses: actions/setup-node@v4
4545
with:
4646
node-version: 22
47-
- name: Install MyST Markdown
48-
run: npm install -g mystmd
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
4958
- name: Install requirements.txt
5059
run: pip install -r requirements.txt
5160
- name: Build HTML Assets
52-
run: (cd notebooks; myst build --execute --html)
61+
run: (cd notebooks; ../mystmd/node_modules/mystmd/dist/myst.cjs build --execute --html)
5362
- name: Setup Pages
5463
uses: actions/configure-pages@v3
5564
- name: Upload artifact

0 commit comments

Comments
 (0)