tilde.club/deploy.sh
Elizabeth Hunt e991bac23c
Some checks failed
continuous-integration/drone/push Build is failing
rsync
2024-03-09 13:40:07 -07:00

11 lines
256 B
Bash
Executable File

#!/bin/sh
set -e
echo $SSH_KEY | base64 -d >> /tmp/key
chmod -R 0600 /tmp/key
#scp -o StrictHostKeyChecking=no -i /tmp/key -r dist/* $SSH_CONNECTION_STRING:~
rsync -o StrictHostKeyChecking=no -i /tmp/key -avz dist/* $SSH_CONNECTION_STRING:~
rm /tmp/key