diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..5aed41a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +before_script: + - apt-get update -qy + - apt-get install -y ruby + - gem install dpl + +stages: + - deploy + +deploy: + stage: deploy + image: ruby:latest + script: + - dpl --provider=heroku --app=$HEROKU_APP_PRODUCTION --api-key=$HEROKU_API_KEY + only: + - master \ No newline at end of file