mirror of
https://github.com/peter-evans/dockerhub-description.git
synced 2024-11-21 19:49:32 +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"
|
||||
|
||||
if [ $RESPONSE_CODE -eq 200 ]; then
|
||||
echo "Request successful"
|
||||
exit 0
|
||||
else
|
||||
echo "Request failed"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue