If samcli deployment exits with some other code than 1 or 0, script thinks it is successful. https://github.com/TractorZoom/sam-cli-action/blob/master/entrypoint.sh#L65 Here you have to just return exit code
If samcli deployment exits with some other code than 1 or 0, script thinks it is successful.
https://github.com/TractorZoom/sam-cli-action/blob/master/entrypoint.sh#L65
Here you have to just return exit code