Update .gitlab-ci.yml file
This commit is contained in:
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
before_script:
|
||||
- apt-get update -qy
|
||||
- apt-get install -y ruby
|
||||
- gem install dpl
|
||||
|
||||
stages:
|
||||
- deploy
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
image: ruby:latest
|
||||
script:
|
||||
- dpl --provider=heroku --app=$HEROKU_APP_PRODUCTION --api-key=$HEROKU_API_KEY
|
||||
only:
|
||||
- master
|
||||
Reference in New Issue
Block a user