From 10e602777fd498a00b039c4b2639d7a84a0de2f1 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sun, 2 Aug 2020 17:26:51 +0900 Subject: [PATCH] Output clearer action result message --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 88d3db9..6e5540e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -43,7 +43,9 @@ RESPONSE_CODE=$(curl -s --write-out %{response_code} --output /dev/null -H "Auth echo "Received response code: $RESPONSE_CODE" if [ $RESPONSE_CODE -eq 200 ]; then + echo "Request successful" exit 0 else + echo "Request failed" exit 1 fi