From 0964b7fee95d478ecd2b401d8c957b4936902e99 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 8 May 2022 14:18:53 +0000 Subject: fix: Update .gitlab-ci.yml file to install dpl --- .gitlab-ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29efba7..74fd457 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,12 @@ -stages: # List of stages for jobs, and their order of execution - - production - +before_script: + - apt-get update -qy + - apt-get install -y ruby-dev + - gem install dpl + +stages: + - production + + production: stage: production image: ruby:latest @@ -9,4 +15,3 @@ production: - dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY only: - master - -- cgit v1.2.3