Files
ci-actions/pipeline/scripts/finish-build.sh
T
2026-09-26 05:57:32 +00:00

9 lines
442 B
Bash
Executable File

#!/usr/bin/env bash
# Close the build record when the run ends without publishing (skip-publish):
# checks and build passed, nothing was allocated. Usage: finish-build.sh [outcome] [reason]
set -euo pipefail
. "$(dirname "$0")/lib.sh"
require_env APP_ID DEALSAGE_FUNCTIONS_URL PUBLISH_TOKEN SUPABASE_ANON_KEY
step_done publish skipped "Checks and build only (skip-publish); nothing was published"
report_build_finish "${1:-checked}" "${2:-}"