CI 2: Electric boogaloo
This commit is contained in:
parent
355a5125b4
commit
1021cdef38
|
@ -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
|
Loading…
Reference in New Issue