1before_script:
2 - apt-get update -qy
3 - apt-get install -y ruby-dev
4 - gem install dpl
5
6stages:
7 - production
8
9
10production:
11 stage: production
12 image: ruby:latest
13 script:
14 - gem install faraday -v 1.8.0
15 - dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY
16 only:
17 - master