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:
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