try create sh
continuous-integration/drone/push Build is passing Details

This commit is contained in:
user-penguin 2023-09-13 23:23:31 +07:00
parent 18a0f021fd
commit a91395ef6d
1 changed files with 1 additions and 3 deletions

View File

@ -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