mirror of
https://github.com/zhigang1992/actions.git
synced 2026-04-29 12:25:26 +08:00
Add deployment-scripts to shellcheck
Was missing from the wildcard
This commit is contained in:
@@ -4,8 +4,8 @@ BASEDIR=$(dirname "$0")
|
||||
|
||||
sh -c "$*"
|
||||
RESULT=$?
|
||||
if [[ 0 != "${RESULT}" ]];then
|
||||
if [ 0 != "${RESULT}" ];then
|
||||
echo "Failed '$*'! Exit code '${RESULT}' is not equal to 0"
|
||||
${BASEDIR}/deployment-create-status error
|
||||
"${BASEDIR}"/deployment-create-status error
|
||||
exit ${RESULT}
|
||||
fi
|
||||
Reference in New Issue
Block a user