Repository navigation
ci: send the Coolify API token with the redeploy request [2m] - #84
Merged
Merged
Conversation
Coolify's deploy endpoint answers 401 without a bearer token. Commit 0c81dca dropped the Authorization header and has failed the step on every push since. The token is back as a header, and both secrets reach curl through the environment, not the script text. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 image builds and pushes, but the step after it fails: Coolify's deploy endpoint answers 401. Commit 0c81dca dropped the
Authorization: Bearerheader, so the request carries no token. TheCOOLIFY_WEBHOOK_APITOKENsecret still exists and nothing reads it.This change puts the header back. Both secrets now reach
curlthroughenv:instead of being expanded into the script text.Before merging
COOLIFY_WEBHOOK_APITOKENin this repository. Keep the old one only if it is known to be valid.COOLIFY_WEBHOOK_URLis still the deploy webhook URL of the RSSHub application.Check
The step runs only on a push to
master, so this pull request cannot exercise it. After the merge, the Docker Custom Build run of that push shows whether Coolify accepts the token. If it does not, run the workflow again by hand once the token is fixed.An AI agent wrote this text in my name, on my instructions.