Commit 9868e32f authored by Nicholas J Anderson's avatar Nicholas J Anderson

Add shopmason build

parent a50bf1b1
Pipeline #2021 passed with stages
in 3 minutes and 28 seconds
......@@ -17,6 +17,21 @@ build:
artifacts:
paths:
- 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:
stage: deploy
......
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