fix(workflow): clean up node_modules before installing production dependencies in BotServer

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-26 16:56:38 -03:00
parent cfda2b726d
commit d28aaafe48

View file

@ -34,7 +34,7 @@ jobs:
- name: Install production dependencies in deployment location
run: |
echo "[General Bots Deployer] Building BotServer..."
rm -rf /opt/gbo/bin/BotServer/node_modules
cd /opt/gbo/bin/BotServer
sudo npm ci --production
npm run build-server