This commit is contained in:
f 2020-03-02 13:03:03 -03:00
parent abfffc06b0
commit 2832980d6c
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -5,6 +5,9 @@ stages:
deploy_application: deploy_application:
stage: deploy stage: deploy
script: script:
- apk add --no-cache openssh-client
- gem install bundler - gem install bundler
- bundle install --path=./vendor - 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 - bundle exec cap production deploy