From c9eb452e7c2a349311a36d0766ab2477f2389c6b Mon Sep 17 00:00:00 2001 From: Miguel Laginha Date: Tue, 16 Jan 2024 09:35:58 +0000 Subject: [PATCH] fix: changed flyctl command to work with phoenix app fixes https://github.com/superfly/fly-pr-review-apps/issues/22 as suggested by @amos-kibet --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1ec9f5cc..ee4cc7c0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -40,7 +40,7 @@ fi if ! flyctl status --app "$app"; then # Backup the original config file since 'flyctl launch' messes up the [build.args] section cp "$config" "$config.bak" - flyctl launch --no-deploy --copy-config --name "$app" --image "$image" --region "$region" --org "$org" + flyctl apps create --no-deploy --copy-config --name "$app" --image "$image" --region "$region" --org "$org" # Restore the original config file cp "$config.bak" "$config" fi