aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..29efba7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+stages: # List of stages for jobs, and their order of execution
+ - production
+
+production:
+ stage: production
+ image: ruby:latest
+ script:
+ - gem install faraday -v 1.8.0
+ - dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY
+ only:
+ - master
+