We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8234e79 commit 31bcbe3Copy full SHA for 31bcbe3
.github/workflows/gh-pages.yml
@@ -47,6 +47,8 @@ jobs:
47
run: cd geographical_interlocking/simulator/react && npm ci
48
49
- name: Geographical Interlocking
50
+ environment:
51
+ GH_PAGES: true
52
run: cd geographical_interlocking && make build
53
54
- name: Locking Table Interlocking NPM
geographical_interlocking/simulator/react/react-router.config.ts
@@ -4,4 +4,5 @@ export default {
4
// Config options...
5
// Server-side render by default, to enable SPA mode set this to `false`
6
ssr: false,
7
+ basename: process.env.GH_PAGES ? "/interlocking/geographical-interlocking/" : "/",
8
} satisfies Config;
0 commit comments