fix(workflow): ensure BotServer directory is created before copying files

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-19 11:14:26 -03:00
parent b24f8fb733
commit 96c65af1b4

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."