generated from VLADIMIR/template
add deploy sh
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
git pull
|
||||||
|
goose -dir ./migrations postgres "user=postgres password=evening_detective_server host=localhost dbname=evening_detective_server sslmode=disable" up
|
||||||
|
docker compose -f docker-compose-prod.yml down
|
||||||
|
docker compose -f docker-compose-prod.yml up -d --build
|
||||||
Reference in New Issue
Block a user