Skip to content

Commit a8d83ff

Browse files
Update action.yml
Signed-off-by: SEBASTIAN JN <[email protected]>
1 parent 3d7c8ef commit a8d83ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inputs:
2323
required: true
2424
RUN:
2525
description: 'Put the commands that will be executed after the deploy.'
26-
required: true
26+
required: false # Set to false to make the input optional.
2727

2828
runs:
2929
using: 'composite'
@@ -58,5 +58,7 @@ runs:
5858
scp -r ${Array[1]} ssh:/${{ inputs.FOLDER }}
5959
shell: bash
6060
- name: 🍷 Executing commands...
61+
if: ${{ inputs.RUN }} # Add this condition to run the step only if RUN is provided.
6162
run: ssh ssh "${{ inputs.RUN }}"
6263
shell: bash
64+

0 commit comments

Comments
 (0)