Elizabeth Hunt
cbca57596a
All checks were successful
continuous-integration/drone/push Build is passing
12 lines
222 B
Bash
Executable File
12 lines
222 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
echo $SSH_KEY | base64 -d >> /tmp/key
|
|
|
|
chmod -R 0600 /tmp/key
|
|
rsync -e "ssh -i /tmp/key -o StrictHostKeyChecking=no" -avz dist/. $RSYNC_DESTINATION
|
|
|
|
echo "finished copying to remote host..."
|
|
rm /tmp/key
|