Files
actions/github-deploy/bin/deployment-exec-try
Ole Christian Langfjæran 1d96a59540 Add deployment-scripts to shellcheck
Was missing from the wildcard
2019-01-10 12:29:08 +01:00

11 lines
219 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 error
exit ${RESULT}
fi