Elizabeth Hunt
9b929627b9
All checks were successful
continuous-integration/drone/push Build is passing
12 lines
228 B
Bash
Executable File
12 lines
228 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/* $SSH_CONNECTION_STRING:~
|
|
|
|
echo "finished copying to remote host..."
|
|
rm /tmp/key
|