hatecomputers.club/deploy.sh

12 lines
231 B
Bash
Executable File

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