From 049104deb23a853d8b9f4180100a1e5fc0ee8701 Mon Sep 17 00:00:00 2001 From: user-penguin Date: Wed, 13 Sep 2023 23:27:03 +0700 Subject: [PATCH] all done --- build/ci/.drone.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 0ad7eb7..04bbebd 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -69,16 +69,9 @@ steps: - mv build/ci/Dockerfile . - mv deploy/docker-compose.yml . - rm -r build deploy - - 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 -# - goose -allow-missing -dir ./migrations postgres "user=crab password=$${DB_PASS} dbname=butler host=localhost port=5432 sslmode=disable" up + - goose -allow-missing -dir ./migrations postgres \"user=crab password=$${DB_PASS} dbname=butler host=localhost port=5432 sslmode=disable\" up - docker-compose up -d --force-recreate - # TODO: - # run migrations - trigger: event: - push