diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 0401102..0aff000 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -67,7 +67,6 @@ steps: - cp /etc/ssl/certs/ca-certificates.crt . - mv build/ci/Dockerfile . - mv build/ci/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 - docker-compose up -d --force-recreate diff --git a/build/ci/docker-compose.yml b/build/ci/docker-compose.yml index af79d95..a42c416 100644 --- a/build/ci/docker-compose.yml +++ b/build/ci/docker-compose.yml @@ -9,6 +9,8 @@ services: - "8185:8090" networks: - common-network + env_file: + - .env networks: common-network: