From a91395ef6daf985a025865677ca7ff3a14b7d0a1 Mon Sep 17 00:00:00 2001 From: user-penguin Date: Wed, 13 Sep 2023 23:23:31 +0700 Subject: [PATCH] try create sh --- build/ci/.drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index ccbcfe6..0ad7eb7 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -69,10 +69,8 @@ steps: - mv build/ci/Dockerfile . - mv deploy/docker-compose.yml . - rm -r build deploy - - touch test - - echo "user=crab password=.hbqufufhby dbname=butler host=localhost port=5432" >> test - 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 + - 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