upd
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user