add deploy sh

This commit is contained in:
2026-09-10 11:43:56 +07:00
parent d4a6d84bc7
commit 36c8ff26db
Executable
+7
View File
@@ -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