From 8cbf6d7ba7196d8d511e6edaae80944c61d85460 Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Sun, 20 Oct 2024 21:56:49 +0200 Subject: [PATCH] Support app name override (`--app` flag) https://fly.io/docs/reference/configuration/#the-app-name Close https://github.com/dentarg/fly/issues/5 --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index a1efd08..8caef84 100644 --- a/action.yml +++ b/action.yml @@ -4,6 +4,10 @@ branding: icon: "umbrella" color: "blue" inputs: + app: + description: "The app name" + default: "" + required: false build-args: description: "Build time variables in the form of NAME=VALUE pairs" default: "" @@ -59,6 +63,7 @@ runs: run: | flyctl deploy --remote-only \ --ha=false \ + --app "${{ inputs.app }}" \ --build-arg "${{ inputs.build-args }}" \ --env RELEASE_COMMIT=$(git rev-parse --verify HEAD) \ --env RELEASE_CREATED_AT=$(date --iso-8601=seconds) \