diff --git a/actions/rclone/action.yml b/actions/rclone/action.yml index 79e7cd1a2..b42d22039 100644 --- a/actions/rclone/action.yml +++ b/actions/rclone/action.yml @@ -9,10 +9,10 @@ inputs: description: "Set custom location for rclone configuration file" required: false config: - description: "Configuration for rclone" + description: "Configuration to set up for rclone" required: true debug: - description: "Verbose output and logging" + description: "Verbose debugging and logging or carry on, but do quit on errors" required: false default: false args: diff --git a/actions/rclone/entrypoint.sh b/actions/rclone/entrypoint.sh index 97842cd48..a451047b5 100755 --- a/actions/rclone/entrypoint.sh +++ b/actions/rclone/entrypoint.sh @@ -1,11 +1,10 @@ #!/usr/bin/env bash # Run rclone for files and directories from different cloud storage providers. - if [[ $DEBUG == "false" ]]; then # Carry on, but do quit on errors set -e -else +elif [[ $DEBUG == "true" ]]; then # Verbose debugging set -exuo pipefail xtrace export LOG_LEVEL=debug