File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 type : string
2525 default : " "
2626 description : The URL of the target service. Required for commands "launch", and "check".
27+ beacon_id :
28+ type : string
29+ default : " "
30+ description : Optional beacon_id for "launch" and "check" commands.
31+ event_slug :
32+ type : string
33+ default : " "
34+ description : Optional event_slug for "launch" and "check" commands.
2735 args :
2836 type : string
2937 default : " "
@@ -51,6 +59,16 @@ ethiack-job-manager:
5159 if [ "$[[ inputs.command ]]" = "launch" ] || [ "$[[ inputs.command ]]" = "check" ]; then
5260 if [ -n "$[[ inputs.url ]]" ]; then
5361 COMMAND="$COMMAND $[[ inputs.url ]]"
62+
63+ # Add optional beacon_id if provided
64+ if [ -n "$[[ inputs.beacon_id ]]" ]; then
65+ COMMAND="$COMMAND --beacon-id $[[ inputs.beacon_id ]]"
66+ fi
67+
68+ # Add optional event_slug if provided
69+ if [ -n "$[[ inputs.event_slug ]]" ]; then
70+ COMMAND="$COMMAND --event-slug $[[ inputs.event_slug ]]"
71+ fi
5472 else
5573 echo "Error: URL is required for the $[[ inputs.command ]] command."
5674 exit 1
You can’t perform that action at this time.
0 commit comments