fix(ci): Use heredoc for multi-line commit message in perf-report
This commit is contained in:
parent
9ce01359f0
commit
b33b8a89af
1 changed files with 5 additions and 2 deletions
|
|
@ -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)"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue