summaryrefslogtreecommitdiff
path: root/vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-09-12 20:10:07 +0000
committerRobert Speicher <robert@gitlab.com>2016-09-12 20:10:07 +0000
commit4c87d98fee38d16a12b0acac5400c0cbb52576ee (patch)
tree062b3b8a5e4a6c10e54b23c6569b73f81690bf10 /vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
parentc87235a24d144689f97cc52b8039f24f63a86bbf (diff)
parent0c36469538631ed7729d1faae9c610d3453869b8 (diff)
downloadgitlab-ce-4c87d98fee38d16a12b0acac5400c0cbb52576ee.tar.gz
Merge branch 'update-templates' into 'master'
Update templates. See merge request !6163
Diffstat (limited to 'vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml')
-rw-r--r--vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml b/vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
index 166f146ee05..08b57c8c0ac 100644
--- a/vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
+++ b/vendor/gitlab-ci-yml/Ruby.gitlab-ci.yml
@@ -43,3 +43,12 @@ rails:
- bundle exec rake db:migrate
- bundle exec rake db:seed
- bundle exec rake test
+
+# This deploy job uses a simple deploy flow to Heroku, other providers, e.g. AWS Elastic Beanstalk
+# are supported too: https://github.com/travis-ci/dpl
+deploy:
+ type: deploy
+ environment: production
+ script:
+ - gem install dpl
+ - dpl --provider=heroku --app=$HEROKU_APP_NAME --api-key=$HEROKU_PRODUCTION_KEY