From 77dae0e5e88b1f74cab9aa344bfbe244ff16609e Mon Sep 17 00:00:00 2001 From: TheiLLeniumStudios <104288623+TheiLLeniumStudios@users.noreply.github.com> Date: Mon, 6 Feb 2023 10:20:53 +0000 Subject: [PATCH] Print before --- entrypoint.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 45f76fc..4cb8418 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,9 +4,7 @@ echo "$1" echo "$2" echo "$3" echo "$4" - -printenv -${GITHUB_SHA} +echo "$5" if [ ${GITHUB_BASE_REF} ]; then # Pull Request @@ -17,6 +15,7 @@ else # Push git fetch origin ${GITHUB_EVENT_BEFORE} --depth=1 export DIFF=$( git diff --name-only ${GITHUB_EVENT_BEFORE} ${GITHUB_SHA} ) + echo $DIFF echo "Diff between ${GITHUB_EVENT_BEFORE} and ${GITHUB_SHA}" fi