Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-web
Commits
0ca0a755
Commit
0ca0a755
authored
Nov 21, 2017
by
Nicholas J Anderson
Browse files
Add CI "HOMEPAGE" variable to package.json before building
parent
5f4b179a
Pipeline
#1763
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0ca0a755
...
...
@@ -2,7 +2,10 @@ image: node:6.5.0
build
:
stage
:
build
variables
:
HOMEPAGE
:
"
https://whatsopen.gmu.edu/beta/"
script
:
-
node -e "require('fs').writeFileSync('./package.json', JSON.stringify(Object.assign(require('./package.json'), {'homepage'
:
process.env.HOMEPAGE}),
null
, 2));"
-
npm install
-
CI=false npm run build
artifacts
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment