diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 9 insertions, 4 deletions
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 - |