chmod 600 the SSH key

fix-md-font
Max Erenberg 1 year ago
parent 336fa5b073
commit 95a72a3eed
  1. 1
      .drone.yml

@ -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…
Cancel
Save