From 3cea21eb6138a833f9deeb6a21f6cc2201f8fdbc Mon Sep 17 00:00:00 2001 From: TheiLLeniumStudios <104288623+TheiLLeniumStudios@users.noreply.github.com> Date: Mon, 6 Feb 2023 11:10:52 +0000 Subject: [PATCH] Update --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8a4e2eb..fe77bb3 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -29,13 +29,13 @@ if [ ${GITHUB_BASE_REF} ]; then else # Push git fetch origin ${GITHUB_EVENT_BEFORE} --depth=1 - export DIFF=$( git diff --name-only ${GITHUB_EVENT_BEFORE} ${GITHUB_SHA} ) + export DIFF=$( git diff --name-status ${GITHUB_EVENT_BEFORE} ${GITHUB_SHA} ) echo "Diff between ${GITHUB_EVENT_BEFORE} and ${GITHUB_SHA}" fi echo "${DIFF}" | while read -r changed; do - if [[ ${changed} == ${RESOURCES_FOLDER}* ]] ; echo $changed; + if [[ ${changed} == ${RESOURCES_FOLDER}* ]] ; then echo "In the resources folder" else