Browse Source

fix: update deploy script

master
Inhji Y. 10 months ago
parent
commit
26942f8a61
  1. 8
      deploy.sh

8
deploy.sh

@ -1,11 +1,9 @@
#!/usr/bin/env zsh
ssh -T root@inhji.de << EOSSH
su tomie
source ~/.zshrc
cd /opt/tomie
ssh -T tomie@glados << EOSSH
cd ~/tomie
git pull
./build.sh
exit
EOSSH
ssh -T root@inhji.de systemctl restart tomie
#ssh -T glados systemctl restart tomie
Loading…
Cancel
Save