From 306b83a26aa534e2190f32ee7648586123b95370 Mon Sep 17 00:00:00 2001 From: Agatha Rose Date: Sun, 26 Apr 2020 16:33:13 +0000 Subject: [PATCH] CI 2: Electric boogaloo --- .gitlab-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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