chmod 600 the SSH key
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
336fa5b073
commit
95a72a3eed
|
@ -60,6 +60,7 @@ steps:
|
|||
from_secret: DEPLOYMENT_SSH_KEY
|
||||
commands:
|
||||
- 'echo "$SSH_KEY" > /tmp/ssh_key'
|
||||
- chmod 600 /tmp/ssh_key
|
||||
- ssh -i /tmp/ssh_key www@caffeine.csclub.uwaterloo.ca -o StrictHostKeyChecking=no '~/bin/deploy-website.sh'
|
||||
when:
|
||||
branch:
|
||||
|
|
Loading…
Reference in New Issue