Browse Source

add deploy script

pull/26/head
Inhji Y. 1 year ago
parent
commit
068b5aa256
  1. 11
      deploy.sh

11
deploy.sh

@ -0,0 +1,11 @@
#!/usr/bin/env bash
ssh -T root@inhji.de systemctl stop tomie
ssh -T root@inhji.de << EOSSH
su tomie
cd /opt/tomie
git pull
./build.sh
exit
EOSSH
ssh -T root@inhji.de systemctl start tomie