Skip to content

ci: send the Coolify API token with the redeploy request [2m] - #84

Merged
Gl4dr3x merged 1 commit into
masterfrom
ci/coolify-auth-header
Dec 2, 2026
Merged

Gl4dr3x merged 1 commit into
masterfrom
ci/coolify-auth-header

Conversation

@Gl4dr3x

@Gl4dr3x Gl4dr3x commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

The image builds and pushes, but the step after it fails: Coolify's deploy endpoint answers 401. Commit 0c81dca dropped the Authorization: Bearer header, so the request carries no token. The COOLIFY_WEBHOOK_APITOKEN secret still exists and nothing reads it.

This change puts the header back. Both secrets now reach curl through env: instead of being expanded into the script text.

Before merging

  • Create an API token in Coolify with the deploy permission, and set it as COOLIFY_WEBHOOK_APITOKEN in this repository. Keep the old one only if it is known to be valid.
  • Check that COOLIFY_WEBHOOK_URL is 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.

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]>
@Gl4dr3x
Gl4dr3x merged commit cf0eb62 into master Dec 2, 2026
27 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant