Commit 4b6f66b
committed
ci(pages): allow VITE_PUBLIC_BASE_PATH override for custom domains
GitHub Pages project URLs use /<repo>/ as the asset base, but a root
custom domain (e.g. inspector.neotoma.io) serves assets at /. Read
optional Actions variable VITE_PUBLIC_BASE_PATH; when unset, keep
format('/{repo}/') for default github.io deployments.1 parent 839c6d0 commit 4b6f66b
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | | - | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments