fix: keep staging deployment dispatch isolated
Deploy staging to test server / deploy (push) Successful in 2m32s

This commit is contained in:
linmeng
2026-07-30 11:32:35 +08:00
parent 772c06c205
commit 4a6d9168c7
2 changed files with 3 additions and 3 deletions
@@ -210,7 +210,7 @@ jobs:
exit 1
}
payload="$(jq -cn --arg deploy_sha "$DEPLOY_SHA" \
'{ref:"main",inputs:{deploy_sha:$deploy_sha,allow_rollback:"false"}}')"
'{ref:"staging",inputs:{deploy_sha:$deploy_sha,allow_rollback:"false"}}')"
curl --fail --silent --show-error --request POST \
--header "Authorization: Bearer $GH_TOKEN" \
--header "Accept: application/vnd.github+json" \