Browse Source

fix: improve deploy script to actually restart service after deploy

tags/v0.73.2
Inhji Y. 4 weeks ago
parent
commit
9f39a34eca
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      deploy.sh

+ 4
- 2
deploy.sh View File

@@ -1,10 +1,12 @@
#!/usr/bin/env zsh

echo "Build starting!"
echo "--------------------------"
ssh -T tomie@glados << EOSSH
source ~/.zshrc
cd ~/tomie
git pull
./build.sh
sudo systemctl restart tomie
exit
EOSSH
echo "Build complete, restarting..."
ssh -T tomie@glados sudo systemctl restart tomie

Loading…
Cancel
Save