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

Add shopmason build

parent a50bf1b1
...@@ -18,6 +18,21 @@ build: ...@@ -18,6 +18,21 @@ build:
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
script: echo "Deploy bot awayyyyy" script: echo "Deploy bot awayyyyy"
......
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