diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60e08d6..832781a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file + - master