My space on the web https://inhji.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
409 B

#!/usr/bin/env bash
echo ""
echo "Pushing changes..."
echo "--------------------------"
git push origin main
git push gh main
echo ""
echo "Build starting!"
echo "--------------------------"
ssh -T mirage@inhji.de << EOSSH
cd /opt/mirage
git pull origin main
./build.sh
EOSSH
echo ""
echo "Build complete, restarting..."
echo "--------------------------"
ssh -T mirage@inhji.de sudo systemctl restart mirage