upd
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -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
|
||||
python3 -m venv .venv
|
||||
fi
|
||||
# Remove corrupted venv and recreate
|
||||
rm -rf .venv
|
||||
python3 -m venv .venv
|
||||
|
||||
# Install dependencies
|
||||
.venv/bin/pip install --upgrade pip
|
||||
.venv/bin/pip install -r requirements.txt
|
||||
|
||||
# Restart service
|
||||
|
||||
Reference in New Issue
Block a user