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
Enes Tasbasi
whats-open-web
Commits
5211b79d
Commit
5211b79d
authored
Jan 17, 2018
by
Nicholas J Anderson
Browse files
Support multiple environments (staging, master)
parent
3f055814
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
5211b79d
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
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