aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-05-08 14:18:53 +0000
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-05-08 14:18:53 +0000
commit0964b7fee95d478ecd2b401d8c957b4936902e99 (patch)
tree269a37027b91421625a9ccd44ff123390467ac68 /.gitlab-ci.yml
parentbb2323f0be0d5877fe2afe98625ef412f9c83a26 (diff)
downloadmacroblog.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.yml13
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
-