CI 2: Electric boogaloo

This commit is contained in:
Agatha Rose 2020-04-26 16:33:13 +00:00
parent c42b799bc3
commit 306b83a26a
1 changed files with 5 additions and 4 deletions

View File

@ -5,8 +5,9 @@ stages:
production: production:
stage: deploy stage: deploy
script: script:
- git fetch --all --unshallow - apt-get update -qy
- git remote add heroku https://heroku:$HEROKU_API_KEY@git.heroku.com/discordinator9000.git - apt-get install -y ruby-dev
- git push -qf heroku HEAD:master - gem install dpl
- dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY
only: only:
- master - master