mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-06-22 04:22:10 +10:00
Add option to execute script before and after rsync
This commit is contained in:
parent
0e7d8019db
commit
5dfe8ebb5a
14 changed files with 278 additions and 213 deletions
10
action.yml
10
action.yml
|
@ -31,10 +31,14 @@ inputs:
|
|||
description: "An array of folder to exclude"
|
||||
required: false
|
||||
default: ""
|
||||
SCRIPT:
|
||||
description: "Script to run on host machine"
|
||||
SCRIPT_BEFORE:
|
||||
description: "Script to run on host machine before rsync"
|
||||
required: false
|
||||
default: "ls"
|
||||
default: "echo 'Before rsync'"
|
||||
SCRIPT_AFTER:
|
||||
description: "Script to run on host machine after rsync"
|
||||
required: false
|
||||
default: "echo 'After rsync'"
|
||||
outputs:
|
||||
status:
|
||||
description: "Status"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue