2020-04-26 15:34:43 +00:00
|
|
|
# haha imagine testing your code
|
|
|
|
stages:
|
2020-04-26 15:36:55 +00:00
|
|
|
- deploy
|
2020-04-26 15:34:43 +00:00
|
|
|
|
|
|
|
production:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
2020-04-26 16:33:13 +00:00
|
|
|
- apt-get update -qy
|
|
|
|
- apt-get install -y ruby-dev
|
|
|
|
- gem install dpl
|
|
|
|
- dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY
|
2020-04-26 15:34:43 +00:00
|
|
|
only:
|
2020-04-26 16:33:13 +00:00
|
|
|
- master
|