diff options
| author | XhmikosR <[email protected]> | 2020-02-22 09:15:19 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-02-22 09:15:19 +0200 |
| commit | 90f5dbae1d65615c5a8a8d039add0d2230abd75a (patch) | |
| tree | 45a4256926d5c66ecd3f68795fdd13fd67af836b /package.json | |
| parent | b8ffcdf9a4b8d61ef896c102732e15af39e883b5 (diff) | |
| download | bootstrap-90f5dbae1d65615c5a8a8d039add0d2230abd75a.tar.xz bootstrap-90f5dbae1d65615c5a8a8d039add0d2230abd75a.zip | |
Netlify: set Hugo's `baseURL` to the `DEPLOY_PRIME_URL` variable (#30214)
This will allow each branch/preview to have its own base URL instead of the default one of the main site (getbootstrap.com).
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 32e45fd08..418997a16 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "release-zip": "cross-env-shell \"rm -rf bootstrap-$npm_package_version-dist && cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && rm -rf bootstrap-$npm_package_version-dist\"", "dist": "npm-run-all --parallel css js", "test": "npm-run-all lint dist js-test docs-build docs-lint", - "netlify": "npm-run-all dist release-sri docs-build", + "netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build", "watch": "npm-run-all --parallel watch-*", "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"", "watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"", |
