summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJJ Asghar <jjasghar@gmail.com>2018-01-16 17:21:45 +0000
committerJJ Asghar <jjasghar@gmail.com>2018-01-16 17:21:45 +0000
commit4367c509e64ffaed84939d5bdaa1f3a71506b3fd (patch)
treefd6277ef9f3225ebe1583085d71d53c9fe0b4aea
parentac23f3f0d1b36af6208a84cfc4d2683cd7d0b65d (diff)
downloadgitlab-ce-4367c509e64ffaed84939d5bdaa1f3a71506b3fd.tar.gz
Update test-and-deploy-ruby-application-to-heroku.md
Converted from type to "stage" due to depreciation. Signed-off-by: JJ Asghar <jjasghar@gmail.com>
-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