Commit 0ca0a755 authored by Nicholas J Anderson's avatar Nicholas J Anderson
Browse files

Add CI "HOMEPAGE" variable to package.json before building

parent 5f4b179a
Pipeline #1763 failed
...@@ -2,7 +2,10 @@ image: node:6.5.0 ...@@ -2,7 +2,10 @@ image: node:6.5.0
build: build:
stage: build stage: build
script: script:
- node -e "require('fs').writeFileSync('./package.json', JSON.stringify(Object.assign(require('./package.json'), {'homepage': process.env.HOMEPAGE}), null, 2));"
- npm install - npm install
- CI=false npm run build - CI=false npm run build
artifacts: artifacts:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment