mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-27 03:57:28 +00:00
feat: add debug input to action and enable debug mode in entrypoint script
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
if [ "${INPUT_DEBUG:-false}" = "true" ]; then
|
||||
set
|
||||
fi
|
||||
|
||||
if [ -z "$(echo "$INPUT_REMOTE_PATH" | awk '{$1=$1};1')" ]; then
|
||||
echo "The remote_path can not be empty. see: github.com/Burnett01/rsync-deployments/issues/44"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user