mirror of
https://github.com/peter-evans/dockerhub-description.git
synced 2024-11-22 03:59:34 +01:00
Output clearer action result message
This commit is contained in:
parent
382a87f452
commit
10e602777f
1 changed files with 2 additions and 0 deletions
|
@ -43,7 +43,9 @@ RESPONSE_CODE=$(curl -s --write-out %{response_code} --output /dev/null -H "Auth
|
||||||
echo "Received response code: $RESPONSE_CODE"
|
echo "Received response code: $RESPONSE_CODE"
|
||||||
|
|
||||||
if [ $RESPONSE_CODE -eq 200 ]; then
|
if [ $RESPONSE_CODE -eq 200 ]; then
|
||||||
|
echo "Request successful"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
echo "Request failed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue