We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d7c8ef commit a8d83ffCopy full SHA for a8d83ff
action.yml
@@ -23,7 +23,7 @@ inputs:
23
required: true
24
RUN:
25
description: 'Put the commands that will be executed after the deploy.'
26
- required: true
+ required: false # Set to false to make the input optional.
27
28
runs:
29
using: 'composite'
@@ -58,5 +58,7 @@ runs:
58
scp -r ${Array[1]} ssh:/${{ inputs.FOLDER }}
59
shell: bash
60
- name: 🍷 Executing commands...
61
+ if: ${{ inputs.RUN }} # Add this condition to run the step only if RUN is provided.
62
run: ssh ssh "${{ inputs.RUN }}"
63
64
+
0 commit comments