aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-05-08 14:12:37 +0000
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-05-08 14:12:37 +0000
commitbb2323f0be0d5877fe2afe98625ef412f9c83a26 (patch)
tree49d3f99e70bd37c40be21f65354915ecc08304dd /.gitlab-ci.yml
parent1beb4d15d54f6900068f6029f561559a566101d4 (diff)
downloadmacroblog.rs-bb2323f0be0d5877fe2afe98625ef412f9c83a26.tar.gz
macroblog.rs-bb2323f0be0d5877fe2afe98625ef412f9c83a26.tar.bz2
macroblog.rs-bb2323f0be0d5877fe2afe98625ef412f9c83a26.zip
feat: Add .gitlab-ci.yml file
Diffstat (limited to '.gitlab-ci.yml')
-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
+