summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-01-16 18:09:44 +0000
committerRémy Coutable <remy@rymai.me>2018-01-16 18:09:44 +0000
commit66ae75600af3cdcaf67991b4ae0701d84de2f31a (patch)
tree30845757442a5767498095548f76545a50fe3b8b
parent9d45c491c36d9e19c929902f02c79b3ac2536869 (diff)
parent4367c509e64ffaed84939d5bdaa1f3a71506b3fd (diff)
downloadgitlab-ce-66ae75600af3cdcaf67991b4ae0701d84de2f31a.tar.gz
Merge branch 'patch-28' into 'master'
Update test-and-deploy-ruby-application-to-heroku.md See merge request gitlab-org/gitlab-ce!16500
-rw-r--r--doc/ci/examples/test-and-deploy-ruby-application-to-heroku.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/ci/examples/test-and-deploy-ruby-application-to-heroku.md b/doc/ci/examples/test-and-deploy-ruby-application-to-heroku.md
index 10fd2616fab..7f9ab1f3a5e 100644
--- a/doc/ci/examples/test-and-deploy-ruby-application-to-heroku.md
+++ b/doc/ci/examples/test-and-deploy-ruby-application-to-heroku.md
@@ -10,6 +10,7 @@ This is what the `.gitlab-ci.yml` file looks like for this project:
```yaml
test:
+ stage: test
script:
- apt-get update -qy
- apt-get install -y nodejs
@@ -18,7 +19,7 @@ test:
- bundle exec rake test
staging:
- type: deploy
+ stage: deploy
script:
- gem install dpl
- dpl --provider=heroku --app=gitlab-ci-ruby-test-staging --api-key=$HEROKU_STAGING_API_KEY
@@ -26,7 +27,7 @@ staging:
- master
production:
- type: deploy
+ stage: deploy
script:
- gem install dpl
- dpl --provider=heroku --app=gitlab-ci-ruby-test-prod --api-key=$HEROKU_PRODUCTION_API_KEY