Skip to content

Commit 0b78571

Browse files
committed
Hotfix: update deployment pipeline
1 parent 5ff4a04 commit 0b78571

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/deployment.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,11 @@ jobs:
2828
set -ex
2929
source ~/.profile
3030
export BRANCH="${{ github.event.inputs.branch }}"
31-
export BRANCH="devops-2"
3231
export REPO_DIR="/home/ubuntu/cg_langbuilder/LangBuilder"
3332
export OPENWEBUI_DIR="$REPO_DIR/openwebui"
3433
export OPENWEBUI_BACKEND_DIR="$OPENWEBUI_DIR/backend"
3534
export LANGBUILDER_DIR="$REPO_DIR/langbuilder"
3635
37-
echo "SHELL: $SHELL"
38-
echo "USER: $(whoami)"
39-
echo "HOME: $HOME"
40-
echo "PATH: $PATH"
41-
echo "Node version: $(node -v 2>/dev/null || echo 'node not found')"
42-
echo "NPM version: $(npm -v 2>/dev/null || echo 'npm not found')"
43-
echo "Current shell: $0"
44-
env
45-
4636
cd "$REPO_DIR"
4737
git stash
4838
git fetch origin
@@ -74,14 +64,12 @@ jobs:
7464
npm run build
7565
7666
cd "$OPENWEBUI_BACKEND_DIR"
77-
echo "Python version: $(python3 --version 2>&1)"
7867
source ~/miniconda3/etc/profile.d/conda.sh
7968
conda activate open-webui
8069
nohup bash dev.sh > /tmp/openwebui_backend.log 2>&1 &
8170
conda deactivate
8271
8372
cd "$LANGBUILDER_DIR"
84-
echo "Python version: $(python3 --version 2>&1)"
8573
nohup make run_cli > /tmp/langbuilder.log 2>&1 &
8674
8775
echo "Deploy completo en branch $BRANCH"

0 commit comments

Comments
 (0)