From 280ea619ee64c8fffd66cca5b846b628c1d81e6d Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 14 Dec 2023 19:48:27 +0100 Subject: [PATCH] Attached PostgreSQL cluster to the PR app. (#45) --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 84582f6..1ec9f5c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -50,7 +50,7 @@ fi # Attach postgres cluster to the app if specified. if [ -n "$INPUT_POSTGRES" ]; then - flyctl postgres attach "$INPUT_POSTGRES" || true + flyctl postgres attach "$INPUT_POSTGRES" --app "$app" || true fi # Trigger the deploy of the new version.