fix drone
continuous-integration/drone/push Build is failing Details

This commit is contained in:
user-penguin 2024-11-12 02:48:55 +07:00
parent 2f5b100706
commit 41200e8083
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ steps:
from_secret: ssh_key
port:
from_secret: ssh_port
target: /home/crab/deploys/butler_bot
target: /home/crab/deploys/smm_tg
source:
- .env
- build/ci/Dockerfile
@ -69,7 +69,7 @@ steps:
- mv deploy/docker-compose.yml .
- rm -r build deploy
- export PATH=$PATH:/usr/local/go/bin:/$HOME/go/bin
- goose -allow-missing -dir ./migrations postgres "user=crab password=$${DB_PASS} dbname=smm_tg host=localhost port=5432 sslmode=disable" up
- goose -allow-missing -dir ./migrations postgres "user=crab password=$${DB_PASS} dbname=smm-tg host=localhost port=5432 sslmode=disable" up
- docker-compose up -d --force-recreate
trigger: