From 61d8cfe93c3702f9120875545ef82a9cafef58fe Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Fri, 28 Mar 2025 10:24:41 -0300 Subject: [PATCH] fix(workflows): clean up node.yaml by removing unnecessary commented-out commands --- .forgejo/workflows/node.yaml | 42 ++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.forgejo/workflows/node.yaml b/.forgejo/workflows/node.yaml index 0362ee54..3dbf03a5 100644 --- a/.forgejo/workflows/node.yaml +++ b/.forgejo/workflows/node.yaml @@ -12,32 +12,32 @@ jobs: steps: - # - name: Disable SSL verification (temporary) - # run: git config --global http.sslVerify false + - name: Disable SSL verification (temporary) + run: git config --global http.sslVerify false - # - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - # - name: Setup Node.js - # uses: actions/setup-node@v4 - # with: - # node-version: '20' - # cache: 'npm' + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' - # - name: Copy files to deployment location - # run: | - # sudo cp -r ./* /opt/gbo/bin/BotServer/ + - name: Copy files to deployment location + run: | + sudo cp -r ./* /opt/gbo/bin/BotServer/ - # - name: Install production dependencies in deployment location - # run: | - # echo "[General Bots Deployer] Building BotServer..." - # cd /opt/gbo/bin/BotServer - # sudo npm ci --production - # npm run build --if-present + - name: Install production dependencies in deployment location + run: | + echo "[General Bots Deployer] Building BotServer..." + cd /opt/gbo/bin/BotServer + sudo npm ci --production + npm run build --if-present - # echo "[General Bots Deployer] Building default.gbui..." - # cd /opt/gbo/bin/BotServer/packages/default.gbui - # npm install - # npm run build + echo "[General Bots Deployer] Building default.gbui..." + cd /opt/gbo/bin/BotServer/packages/default.gbui + npm install + npm run build - name: Restart Bots Deployer run: |