Commit 4d1367f7 authored by sp2419's avatar sp2419
Browse files

Merge remote-tracking branch 'origin/master'

parents dbd8663e 81d8ded0
Pipeline #173254 passed with stages
in 4 minutes and 51 seconds
......@@ -27,11 +27,15 @@ deploy:
deploy_production:
stage: deploy_production
image: ruby:latest
resource_group: production
environment:
name: production
url: https://sp2419-simplewebapp.herokuapp.com/
script:
- dpl --provider=heroku --app=sp2419-simplewebapp --api-key=$HEROKU_API_KEY
- gem install --user-install dpl-heroku
- if which ruby >/dev/null && which gem >/dev/null; then PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"; fi
- dpl --provider=heroku --app=sp2419-simplewebapp --api-key=$HEROKU_API_KEY
only:
- master
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment