From 1de4a5ffd7dfffb711b7dd3fafaf3df149d02aae Mon Sep 17 00:00:00 2001 From: user-penguin Date: Wed, 13 Sep 2023 23:56:07 +0700 Subject: [PATCH] all done 6 --- build/ci/.drone.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 0a7a1d6..7ea3e20 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -69,11 +69,8 @@ steps: - mv build/ci/Dockerfile . - mv deploy/docker-compose.yml . - rm -r build deploy - - touch migrate.sh - - echo \#!/bin/sh >> 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 - - sh migrate.sh + - export PATH=$PATH:/usr/local/go/bin:/$HOME/go/bin + - goose -allow-missing -dir ./migrations postgres \"user=crab password=$${DB_PASS} dbname=butler host=localhost port=5432 sslmode=disable\" up >> migrate.sh - docker-compose up -d --force-recreate trigger: