mistymountains/deploy.sh

11 lines
190 B
Bash
Raw Normal View History

2024-04-30 00:01:09 -04:00
#!/bin/bash
set -e
echo $SSH_KEY | base64 -d >> /tmp/key
chmod -R 0600 /tmp/key
2024-05-01 03:46:57 -04:00
ssh -i /tmp/key -o StrictHostKeyChecking=no $HOST "sudo systemctl restart docker-compose@mmt"
2024-04-30 00:01:09 -04:00
rm /tmp/key