mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-16 20:50:24 +00:00
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).
This commit is contained in:
parent
b8ffcdf9a4
commit
90f5dbae1d
1 changed files with 1 additions and 1 deletions
|
|
@ -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\"",
|
||||
|
|
|
|||
Loading…
Reference in a new issue