Files
QuantEngineByItz/.gitea/workflows
kjh2064 6ab270fe92 fix: Replace gh CLI with direct Gitea API calls (curl)
Root cause found via SSH log analysis (actions_log/.../2326.log):
  'gh release create' failed with exit code 127 (command not found).
  The act_runner Docker image used for jobs does not ship the
  GitHub CLI (gh), so any step relying on it fails immediately.

Fix: Replace gh CLI calls with direct Gitea REST API calls using
curl, which is available in the base image:
  1. POST /repos/{repo}/releases -- create release, parse id via python3
  2. POST /repos/{repo}/releases/{id}/assets -- upload artifact as multipart

This removes the gh CLI dependency entirely and matches how
deploy-prod.yml already talks to Gitea (curl + REST API).
2026-07-12 00:18:29 +09:00
..