diff --git a/.forgejo/workflows/node.yaml b/.forgejo/workflows/node.yaml index 6957bf9a..45377fa9 100644 --- a/.forgejo/workflows/node.yaml +++ b/.forgejo/workflows/node.yaml @@ -38,13 +38,10 @@ jobs: # cd /opt/gbo/bin/BotServer/packages/default.gbui # npm install # npm run build - - name: Restart Bots Deployer run: | echo "[General Bots Deployer] Restarting..." - cd /opt/gbo/bin/BotServer + pkill -f "node ./boot.mjs" || true - npm run start --if-present & - sleep 5 - echo "[General Bots Deployer] Bots Deployer restarted." + nohup npm run start > /dev/null 2>&1