aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-