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
9868e32f
Commit
9868e32f
authored
Jan 19, 2018
by
Nicholas J Anderson
Browse files
Add shopmason build
parent
a50bf1b1
Pipeline
#2021
passed with stages
in 3 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9868e32f
...
@@ -17,6 +17,21 @@ build:
...
@@ -17,6 +17,21 @@ build:
artifacts
:
artifacts
:
paths
:
paths
:
-
build
-
build
build_shopmason
:
stage
:
build
variables
:
API_GET_FACILITIES
:
"
https://api.srct.gmu.edu/whatsopen/v2/facilities/?facility_classifier=shopmason"
script
:
-
npm install -g yarn
-
>
sed "s|^const API_GET_FACILITIES .*|const API_GET_FACILITIES = '$API_GET_FACILITIES';|" -i src/actions/api.js
-
yarn install
-
CI=false npm run build
artifacts
:
paths
:
-
build
when
:
manual
deploy_staging
:
deploy_staging
:
stage
:
deploy
stage
:
deploy
...
...
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