fix
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2025-03-28 13:55:58 +05:00
parent 7f3192f64c
commit d782bce41c

View File

@@ -37,9 +37,11 @@ steps:
port: 22025
key:
from_secret: DOCKER_SSH_KEY
envs: [ "DOCKER_USERNAME", "DOTENV_FILE" ]
script:
- mkdir -p /home/iamninja/pomodoro_tg_bot
- cd /home/iamninja/pomodoro_tg_bot
- mkdir -p /home/"$DOCKER_USERNAME"/pomodoro_tg_bot
- cd /home/"$DOCKER_USERNAME"/pomodoro_tg_bot
- echo "$DOTENV_FILE" > .env
- git pull origin main
- docker compose pull
- docker compose up -d