Skip to content

Commit caafa57

Browse files
ci: Set BASE_URL required for MyST html build (#113)
* The 'x build --html' of myst and jupyter-book require the environmental variable 'BASE_URL' to be set. - c.f. https://mystmd.org/guide/deployment#deploy-base-url - c.f. https://mystmd.org/guide/deployment-github-pages#base-url-configuration-for-github-pages
1 parent 1cb3f8a commit caafa57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy-jupyter-book.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
build-book:
2323
runs-on: ubuntu-latest
2424

25+
env:
26+
# Set BASE_URL required for build --html
27+
BASE_URL: /${{ github.event.repository.name }}
28+
2529
steps:
2630
- uses: actions/checkout@v6
2731

0 commit comments

Comments
 (0)