fix(ci): Use heredoc for multi-line commit message in perf-report

This commit is contained in:
russell@unturf.com 2026-01-18 14:45:02 -05:00
parent 9ce01359f0
commit b33b8a89af

View file

@ -289,10 +289,13 @@ perf-report:
git pull origin main --rebase
git add reports/
git diff --cached --quiet || {
git commit -m "perf: Add performance report for $CI_COMMIT_TAG
git commit -m "$(cat <<EOF
perf: Add performance report for $CI_COMMIT_TAG
Generated automatically by CI after tagged release.
Pipeline: $CI_PIPELINE_URL"
Pipeline: $CI_PIPELINE_URL
EOF
)"
git push origin main && echo "SUCCESS: Report committed to main" || \
echo "WARN: Push failed - add DEPLOY_KEY variable (base64 encoded SSH private key)"
}