This commit is contained in:
2026-01-27 14:48:41 +03:00
parent ffebd50dec
commit e8e92c31ea

6
Jenkinsfile vendored
View File

@@ -27,12 +27,12 @@ pipeline {
ssh -o StrictHostKeyChecking=no root@${VPS_HOST} /bin/bash << 'ENDSSH'
cd /srv/fymious-tg-bot
# Create venv if needed
if [ ! -d ".venv" ]; then
# Remove corrupted venv and recreate
rm -rf .venv
python3 -m venv .venv
fi
# Install dependencies
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r requirements.txt
# Restart service