Skip to content

Commit 2fb4d85

Browse files
committed
Debugging
1 parent 9ae1f4b commit 2fb4d85

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/deployment.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,26 @@ jobs:
5151
#pkill -f "open-webui" || true
5252
#pkill -f "make run_cli" || true
5353
54+
# Cargar nvm y usar Node >=20
55+
export NVM_DIR="$HOME/.nvm"
56+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
57+
nvm use 22 || nvm use 20 || nvm install 22 || nvm install 20
58+
node -v
59+
npm -v
60+
5461
cd "$OPENWEBUI_DIR"
5562
npm install --legacy-peer-deps
5663
npm run build
5764
5865
cd "$OPENWEBUI_BACKEND_DIR"
66+
echo "Python version: $(python3 --version 2>&1)"
5967
source ~/miniconda3/etc/profile.d/conda.sh
6068
conda activate open-webui
6169
nohup bash dev.sh > /tmp/openwebui_backend.log 2>&1 &
6270
conda deactivate
6371
6472
cd "$LANGBUILDER_DIR"
73+
echo "Python version: $(python3 --version 2>&1)"
6574
nohup make run_cli > /tmp/langbuilder.log 2>&1 &
6675
6776
echo "Deploy completo en branch $BRANCH"

0 commit comments

Comments
 (0)