tilde.club/deploy.sh

10 lines
172 B
Bash
Raw Normal View History

2024-03-09 02:25:48 -05:00
#!/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:~
rm /tmp/key