Change approach to relax rsync security
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3fb4fcc810
commit
9273edfeea
|
@ -31,5 +31,4 @@ steps:
|
||||||
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
||||||
- chmod 600 ~/.ssh/id_ed25519
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
- ssh-add
|
- ssh-add
|
||||||
- echo "Host pizzawednes.day\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- rsync -e "ssh -o StrictHostKeyChecking=no" -rP public/ "$${USER}@pizzawednes.day:$${SITE_PATH}"
|
||||||
- rsync -rP public/ "$${USER}@pizzawednes.day:$${SITE_PATH}"
|
|
||||||
|
|
Loading…
Reference in New Issue