chmod 600 the SSH key
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Max Erenberg 2021-09-11 15:59:11 -04:00
parent 336fa5b073
commit 95a72a3eed
1 changed files with 1 additions and 0 deletions

View File

@ -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: