Update .gitlab-ci.yml
This commit is contained in:
parent
a1d1568ab0
commit
588bc0f5be
@ -18,6 +18,7 @@ deploy_prod:
|
||||
- git config --global user.name "Push Runner"
|
||||
- git config --global user.email "runner@lab.knrg.su"
|
||||
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/key
|
||||
- chmod 700 ~/.ssh/key
|
||||
- printf "host $PROD_HOST\n IdentityFile ~/.ssh/key" > ~/.ssh/config
|
||||
- cat ~/.ssh/config
|
||||
#- chmod 600 "$SSH_PRIVATE_KEY"
|
||||
|
Reference in New Issue
Block a user