Files
actions/github-deploy/bin/deployment-exec-try
2019-06-05 15:09:14 -04:00

12 lines
222 B
Bash
Executable File

#!/bin/sh
BASEDIR=$(dirname "$0")
sh -c "$*"
RESULT=$?
if [ 0 != "${RESULT}" ];then
echo "Failed '$*'! Exit code '${RESULT}' is not equal to 0"
"${BASEDIR}"/deployment-create-status failure
exit ${RESULT}
fi