Skip to content

Commit 9dbeaae

Browse files
fix(actions): build myst website
1 parent 44950ba commit 9dbeaae

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
pull_request:
99
branches: [main]
1010

11+
env:
12+
# `BASE_URL` determines the website served from, including CSS and JS assets
13+
BASE URL: /${{ github.event.repository.name }}
14+
1115
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1216
permissions:
1317
contents: read
@@ -36,7 +40,9 @@ jobs:
3640
run: npm install -g mystmd
3741

3842
- name: Build HTML assets
39-
run: myst build book/myst.yml --html # It's good practice to specify the config file
43+
run: |
44+
cd book
45+
myst build --html
4046
4147
- name: Display myst build log for debugging
4248
run: cat book/_build/logs/myst.build.json

0 commit comments

Comments
 (0)