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