mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-06-20 16:42:10 +10:00
chore: support running commands from a file (#341)
This commit is contained in:
parent
ab698e59d8
commit
362a7f1677
4 changed files with 29 additions and 0 deletions
|
@ -63,6 +63,8 @@ inputs:
|
|||
description: "Include more ciphers for the proxy by using insecure ciphers."
|
||||
script:
|
||||
description: "Commands to be executed."
|
||||
script_path:
|
||||
description: "Path to the file containing commands to be executed."
|
||||
script_stop:
|
||||
description: "Stop the script after the first failure."
|
||||
envs:
|
||||
|
@ -110,6 +112,7 @@ runs:
|
|||
INPUT_PROXY_TIMEOUT: ${{ inputs.proxy_timeout }}
|
||||
INPUT_COMMAND_TIMEOUT: ${{ inputs.command_timeout }}
|
||||
INPUT_SCRIPT: ${{ inputs.script }}
|
||||
INPUT_SCRIPT_FILE: ${{ inputs.script_path }}
|
||||
INPUT_SCRIPT_STOP: ${{ inputs.script_stop }}
|
||||
INPUT_ENVS: ${{ inputs.envs }}
|
||||
INPUT_ENVS_FORMAT: ${{ inputs.envs_format }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue