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

This commit is contained in:
user-penguin 2024-11-12 02:58:12 +07:00
parent 4fae1e2ae2
commit 6a7a1bf3d2
2 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,6 @@ steps:
- cp /etc/ssl/certs/ca-certificates.crt . - cp /etc/ssl/certs/ca-certificates.crt .
- mv build/ci/Dockerfile . - mv build/ci/Dockerfile .
- mv build/ci/docker-compose.yml . - mv build/ci/docker-compose.yml .
- rm -r build deploy
- export PATH=$PATH:/usr/local/go/bin:/$HOME/go/bin - 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 - docker-compose up -d --force-recreate

View File

@ -9,6 +9,8 @@ services:
- "8185:8090" - "8185:8090"
networks: networks:
- common-network - common-network
env_file:
- .env
networks: networks:
common-network: common-network: