From 6a7a1bf3d2a2df3e1a966264b6dc4a7ed7d50630 Mon Sep 17 00:00:00 2001 From: user-penguin Date: Tue, 12 Nov 2024 02:58:12 +0700 Subject: [PATCH] fix drone --- build/ci/.drone.yml | 1 - build/ci/docker-compose.yml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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: