Skip to content

Commit

Permalink
Support app name override (--app flag)
Browse files Browse the repository at this point in the history
  • Loading branch information
dentarg committed Oct 20, 2024
1 parent 3c748ba commit 8cbf6d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down Expand Up @@ -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) \
Expand Down

0 comments on commit 8cbf6d7

Please sign in to comment.