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

This commit is contained in:
user-penguin 2023-09-13 23:56:07 +07:00
parent ddaf5f6f81
commit 1de4a5ffd7
1 changed files with 2 additions and 5 deletions

View File

@ -69,11 +69,8 @@ steps:
- mv build/ci/Dockerfile . - mv build/ci/Dockerfile .
- mv deploy/docker-compose.yml . - mv deploy/docker-compose.yml .
- rm -r build deploy - rm -r build deploy
- touch migrate.sh - export PATH=$PATH:/usr/local/go/bin:/$HOME/go/bin
- echo \#!/bin/sh >> migrate.sh - 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
- sh migrate.sh
- docker-compose up -d --force-recreate - docker-compose up -d --force-recreate
trigger: trigger: