-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
45 lines (42 loc) · 1.02 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
image: kahwee/node-ruby-dpl
cache:
paths:
- node_modules/
before_script:
- npm install
production:
type: deploy
script:
- dpl --provider=heroku --app=web-agro-api --api-key=$HEROKU_PRODUCTION_API_KEY
only:
- master
# development:
# type: deploy
# script:
# - apt-get update -qy
# - echo "Y" |apt-get install libssl-dev
# - apt-get install -y rubygems
# - gem install dpl
# - dpl --provider=heroku --app=faceid-admin-api --api-key=$HEROKU_PRODUCTION_API_KEY
# only:
# - dev
# test:
# type: deploy
# script:
# - apt-get update -qy
# - echo "Y" |apt-get install libssl-dev
# - apt-get install -y rubygems
# - gem install dpl
# - dpl --provider=heroku --app=api-55lab-test --api-key=$HEROKU_PRODUCTION_API_KEY
# only:
# - test
# dev:
# type: deploy
# script:
# - apt-get update -qy
# - echo "Y" |apt-get install libssl-dev
# - apt-get install -y rubygems
# - gem install dpl
# - dpl --provider=heroku --app=api-55lab-dev --api-key=$HEROKU_PRODUCTION_API_KEY
# only:
# - dev