mistymountains/deploy.sh
Elizabeth Hunt 49eb223d9a
Some checks failed
continuous-integration/drone/push Build is failing
ci/cd
2024-05-01 00:46:57 -07:00

11 lines
190 B
Bash
Executable File

#!/bin/bash
set -e
echo $SSH_KEY | base64 -d >> /tmp/key
chmod -R 0600 /tmp/key
ssh -i /tmp/key -o StrictHostKeyChecking=no $HOST "sudo systemctl restart docker-compose@mmt"
rm /tmp/key