diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-08 14:18:53 +0000 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-08 14:18:53 +0000 |
commit | 0964b7fee95d478ecd2b401d8c957b4936902e99 (patch) | |
tree | 269a37027b91421625a9ccd44ff123390467ac68 /.gitlab-ci.yml | |
parent | bb2323f0be0d5877fe2afe98625ef412f9c83a26 (diff) | |
download | macroblog.rs-0964b7fee95d478ecd2b401d8c957b4936902e99.tar.gz macroblog.rs-0964b7fee95d478ecd2b401d8c957b4936902e99.tar.bz2 macroblog.rs-0964b7fee95d478ecd2b401d8c957b4936902e99.zip |
fix: Update .gitlab-ci.yml file to install dpl
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 - |