Add option to execute script before and after rsync

This commit is contained in:
Dragan Filipovic 2023-01-02 01:02:44 +01:00
parent 0e7d8019db
commit 5dfe8ebb5a
14 changed files with 278 additions and 213 deletions

View file

@ -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"