fix(workflow): ensure BotServer directory is created before copying files
Some checks failed
GBCI / build (push) Has been cancelled
Some checks failed
GBCI / build (push) Has been cancelled
This commit is contained in:
parent
380f2ce83a
commit
bc5e18c4f0
1 changed files with 4 additions and 4 deletions
|
@ -46,8 +46,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "[General Bots Deployer] Restarting..."
|
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
|
echo "[General Bots Deployer] Started."
|
||||||
|
|
||||||
nohup npm run start > /dev/null 2>&1 &
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue