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