Commit 5211b79d authored by Nicholas J Anderson's avatar Nicholas J Anderson

Support multiple environments (staging, master)

parent 3f055814
Pipeline #1996 passed with stage
in 2 minutes and 10 seconds
image: node:6.5.0
stages:
- build
- deploy
build:
stage: build
variables:
......@@ -14,3 +18,22 @@ build:
paths:
- build
deploy_staging:
stage: deploy
script: echo "Deploy bot awayyyyy"
environment:
name: staging
url: https://whatsopen.gmu.io
only:
- master
deploy_production:
stage: deploy
script: echo "Deploy bot awayyyyy"
environment:
name: production
url: https://whatsopen.gmu.edu
when: manual
only:
- master
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