From 2832980d6cd908a9c823afd02bede8bb1203e34e Mon Sep 17 00:00:00 2001 From: f Date: Mon, 2 Mar 2020 13:03:03 -0300 Subject: [PATCH] ci/cd! --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a61ba33..dcc9e87 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,9 @@ stages: deploy_application: stage: deploy script: + - apk add --no-cache openssh-client - gem install bundler - bundle install --path=./vendor + - echo -e "-----BEGIN OPENSSH PRIVATE KEY-----\n$SSH_PRIVATE_KEY\n-----END OPENSSH PRIVATE KEY-----" | ssh-add - + - echo "$RAILS_MASTER_KEY" > config/master.key - bundle exec cap production deploy