Print before

This commit is contained in:
TheiLLeniumStudios
2023-02-06 10:20:53 +00:00
parent d58e8ef837
commit 77dae0e5e8
+2 -3
View File
@@ -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