set -e 오류발생 해결

This commit is contained in:
Lectom C Han
2025-12-19 08:53:50 +09:00
parent d4d6065198
commit acab2e6a87

View File

@@ -53,9 +53,9 @@ jobs:
local status="$1" repo="$2" branch="$3" mode="$4" start_epoch="$5" extra="${6:-}"
local ts end_epoch duration text payload
case "${status}" in
success) ((TOTAL_SUCCESS++)) ;;
skip) ((TOTAL_SKIP++)) ;;
error) ((TOTAL_ERROR++)) ;;
success) ((++TOTAL_SUCCESS)) ;;
skip) ((++TOTAL_SKIP)) ;;
error) ((++TOTAL_ERROR)) ;;
esac
[[ -z "${NOTIFY_WEBHOOK}" ]] && return
ts=$(TZ=Asia/Seoul date '+%Y-%m-%d %H:%M:%S %Z')