From ffebd50dec631e373076b862fc47aed6b2c799a4 Mon Sep 17 00:00:00 2001 From: me Date: Tue, 27 Jan 2026 14:47:12 +0300 Subject: [PATCH] upd --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1eb3a28..866e602 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,9 +23,9 @@ pipeline { ssh -o StrictHostKeyChecking=no root@${VPS_HOST} "mkdir -p ${BOT_DIR}" scp -o StrictHostKeyChecking=no -r * root@${VPS_HOST}:${BOT_DIR}/ - # Setup and restart on VPS - ssh -o StrictHostKeyChecking=no root@${VPS_HOST} << 'ENDSSH' - cd ${BOT_DIR} + # Setup and restart on VPS (force bash) + ssh -o StrictHostKeyChecking=no root@${VPS_HOST} /bin/bash << 'ENDSSH' + cd /srv/fymious-tg-bot # Create venv if needed if [ ! -d ".venv" ]; then