debug(ci): set base URL up to be pulled from env
This commit is contained in:
parent
8a322bf241
commit
aa247b1c22
|
@ -42,6 +42,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_PAGES: true
|
||||
BASE_URL: "/nimbus-gui/"
|
||||
needs: cache-dependencies
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
@ -19,7 +19,7 @@ const config: StorybookConfig = {
|
|||
|
||||
async viteFinal(config, { configType }) {
|
||||
if (configType === 'PRODUCTION') {
|
||||
config.base = '/nimbus-gui/'
|
||||
config.base = process.env.BASE_URL || './'
|
||||
}
|
||||
|
||||
return config
|
||||
|
|
Loading…
Reference in New Issue