all done
continuous-integration/drone/push Build is passing Details

This commit is contained in:
user-penguin 2023-09-13 23:27:03 +07:00
parent a91395ef6d
commit 049104deb2
1 changed files with 1 additions and 8 deletions

View File

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