forked from sass/tipibot
Fix workflow
This commit is contained in:
@@ -29,4 +29,7 @@ jobs:
|
||||
git pull
|
||||
source .venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
sudo systemctl restart tipibot
|
||||
sudo systemctl restart tipibot_dev # dev bot first, as canary
|
||||
sleep 5
|
||||
systemctl is-active --quiet tipibot_dev # dev crashed on startup -> abort
|
||||
sudo systemctl restart tipibot # eco bot only if dev survived
|
||||
|
||||
Reference in New Issue
Block a user