fix(workflow): ensure BotServer directory is created before copying files
Some checks failed
GBCI / build (push) Has been cancelled

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-19 11:14:26 -03:00
parent 380f2ce83a
commit bc5e18c4f0

View file

@ -46,8 +46,8 @@ jobs:
run: |
echo "[General Bots Deployer] Restarting..."
cd /opt/gbo/bin/BotServer
sudo systemctl daemon-reload
sudo systemctl restart botserver
sudo systemctl status botserver
pkill -f "node ./boot.mjs" || true
nohup npm run start > /dev/null 2>&1 &
echo "[General Bots Deployer] Started."