From 89957e6724dc4ae7c02d8db8e7d3ba1e99c53d64 Mon Sep 17 00:00:00 2001 From: user-penguin Date: Wed, 13 Sep 2023 23:31:52 +0700 Subject: [PATCH] all done 2 --- build/ci/.drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 04bbebd..26a69b9 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -69,7 +69,10 @@ steps: - mv build/ci/Dockerfile . - mv deploy/docker-compose.yml . - rm -r build deploy - - goose -allow-missing -dir ./migrations postgres \"user=crab password=$${DB_PASS} dbname=butler host=localhost port=5432 sslmode=disable\" up + - touch migrate.sh + - echo goose -allow-missing -dir ./migrations postgres \"user=crab password=$${DB_PASS} dbname=butler host=localhost port=5432 sslmode=disable\" up >> migrate.sh + - chmod +x migrate.sh + - ./migrate.sh - docker-compose up -d --force-recreate trigger: