diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dcc9e87..5e1c5bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ deploy_application: - apk add --no-cache openssh-client - gem install bundler - bundle install --path=./vendor + - eval $(ssh-agent) - 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