CI 2: Electric boogaloo
This commit is contained in:
parent
c42b799bc3
commit
306b83a26a
|
@ -5,8 +5,9 @@ stages:
|
|||
production:
|
||||
stage: deploy
|
||||
script:
|
||||
- git fetch --all --unshallow
|
||||
- git remote add heroku https://heroku:$HEROKU_API_KEY@git.heroku.com/discordinator9000.git
|
||||
- git push -qf heroku HEAD:master
|
||||
- apt-get update -qy
|
||||
- apt-get install -y ruby-dev
|
||||
- gem install dpl
|
||||
- dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY
|
||||
only:
|
||||
- master
|
||||
- master
|
||||
|
|
Loading…
Reference in New Issue