diff --git a/.gitea/workflows/mirror.yml b/.gitea/workflows/mirror.yml index a11d45a..794ed40 100644 --- a/.gitea/workflows/mirror.yml +++ b/.gitea/workflows/mirror.yml @@ -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')