Change approach to relax rsync security
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kayomn 2023-08-19 22:06:44 +01:00
parent 3fb4fcc810
commit 9273edfeea
1 changed files with 1 additions and 2 deletions

View File

@ -31,5 +31,4 @@ steps:
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
- ssh-add
- echo "Host pizzawednes.day\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- rsync -rP public/ "$${USER}@pizzawednes.day:$${SITE_PATH}"
- rsync -e "ssh -o StrictHostKeyChecking=no" -rP public/ "$${USER}@pizzawednes.day:$${SITE_PATH}"