ci/cd!
This commit is contained in:
parent
abfffc06b0
commit
2832980d6c
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue