fix(workflow): ensure BotServer directory is created before copying files
This commit is contained in:
parent
b24f8fb733
commit
96c65af1b4
1 changed files with 4 additions and 4 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue