mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-16 14:36:32 +08:00
fix(ci): dispatch releases to Comfy-Org/Comfy-Desktop, not the archived repo
The release dispatch target Comfy-Org/desktop was archived on 2026-06-26 and is read-only; the live repo is Comfy-Org/Comfy-Desktop. Also make the dispatch step independent of the webhook step above it. The two deliveries are unrelated, but a failure in the first one skips the second, so the desktop bump never runs when the webhook endpoint is unhealthy.
This commit is contained in:
9
.github/workflows/release-webhook.yml
vendored
9
.github/workflows/release-webhook.yml
vendored
@@ -110,8 +110,13 @@ jobs:
|
||||
echo "✅ Release webhook sent successfully"
|
||||
|
||||
- name: Send repository dispatch to desktop
|
||||
# Runs even if the webhook step above failed: the two deliveries are
|
||||
# independent, and a failing webhook endpoint must not silently skip
|
||||
# the desktop release bump.
|
||||
if: ${{ !cancelled() }}
|
||||
env:
|
||||
DISPATCH_TOKEN: ${{ env.DESKTOP_REPO_DISPATCH_TOKEN }}
|
||||
DISPATCH_REPO: Comfy-Org/Comfy-Desktop
|
||||
RELEASE_TAG: ${{ github.event.release.tag_name }}
|
||||
RELEASE_URL: ${{ github.event.release.html_url }}
|
||||
run: |
|
||||
@@ -138,7 +143,7 @@ jobs:
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${DISPATCH_TOKEN}" \
|
||||
https://api.github.com/repos/Comfy-Org/desktop/dispatches \
|
||||
"https://api.github.com/repos/${DISPATCH_REPO}/dispatches" \
|
||||
-d "$PAYLOAD"
|
||||
|
||||
echo "✅ Dispatched ComfyUI release ${RELEASE_TAG} to Comfy-Org/desktop"
|
||||
echo "✅ Dispatched ComfyUI release ${RELEASE_TAG} to ${DISPATCH_REPO}"
|
||||
|
||||
Reference in New Issue
Block a user