Repository navigation
Conversation
The Cloudflare challenge in front of /api/compose.deploy answers a GitHub-hosted runner with 403 and a JS challenge page, so every tag left the Deploy workflow red. Use the per-compose webhook URL (DOKPLOY_WEBHOOK_URL) instead: that is the path GitHub's own deliveries already reach.
Cloudflare's bot challenge keys on curl's default UA; a named agent is easier to allow or skip narrowly if the rule is ever needed.
Dokploy reads the branch only when X-GitHub-Event is present, and rejects a ref that is not the compose branch. A tag deploy therefore asks for refs/heads/main, where the tag commit lives. Verified: the webhook answers 200 and queues the compose deploy.
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Deployworkflow has been red on every tag since Cloudflare started challengingPOST /api/compose.deployfor GitHub-hosted runner IPs (403 + "Just a moment" page).This switches to the per-compose webhook URL (
DOKPLOY_WEBHOOK_URL) and sends the GitHub push envelope Dokploy expects:X-GitHub-Event: push,ref: refs/heads/main,head_commit. Dokploy only reads a branch when that header is present and rejects a tag ref, so a tag deploy targetsmain, where the tag commit lives.Verified with
workflow_dispatch: the step now returns 200 and Dokploy queues the compose deploy.