nxtgauge-ai-assistant/.forgejo/workflows
Ashwin Kumar Sivakumar 23aca4ed65
All checks were successful
build-and-release / build (push) Successful in 8s
fix(ci): compare staged vs HEAD when deciding to commit gitops update
git diff --quiet (no --cached) compares the working tree to the index,
not the index to HEAD. It ran right after git add, at which point the
working tree always matches the index - so it reported "no changes"
unconditionally, on every single run, regardless of whether the sed
substitution actually changed anything relative to HEAD. This silently
skipped the gitops commit+push every time (job still exited 0), which
is why the deployed digest never advanced across ~15 build runs.
Switched to git diff --cached --quiet, and added step-by-step echo
diagnostics so a future silent failure is visible in the run log
instead of just vanishing between two log lines.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-17 04:59:56 +05:30
..
build.yaml fix(ci): compare staged vs HEAD when deciding to commit gitops update 2026-07-17 04:59:56 +05:30