From dd14d83f983ea7d215210604b25bd21dce3f41e7 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Fri, 28 Mar 2025 09:18:08 -0300 Subject: [PATCH] fix(workflows): clean up node.yaml by removing unnecessary commented-out commands --- .forgejo/workflows/node.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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