From 6443afd4e80c4ad1f684843d6ccd0d683dc47dbc Mon Sep 17 00:00:00 2001 From: Salvydas Lukosius Date: Wed, 28 Sep 2022 08:45:42 +0100 Subject: [PATCH] modified: rclone/action.yml modified: rclone/entrypoint.sh --- actions/rclone/action.yml | 4 ++-- actions/rclone/entrypoint.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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