Fix deploy_server.sh: correct Docker image URLs and add token validation#25
Merged
exzosverse-os merged 2 commits intomainfrom Feb 23, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…handling - Fix image URLs from ghcr.io/polarsource/polar to ghcr.io/exzosverse-os/exzos-pay - Fix playwright image URL from ghcr.io/polarsource/polar-playwright to ghcr.io/exzosverse-os/exzos-pay-playwright - Add early validation for empty RENDER_API_TOKEN - Include HTTP status code in deployment failure error messages Co-authored-by: exzosverse-os <248856943+exzosverse-os@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix deployment workflow errors for Render services
Fix deploy_server.sh: correct Docker image URLs and add token validation
Feb 23, 2026
There was a problem hiding this comment.
Pull request overview
This PR fixes critical deployment failures in deploy_server.sh caused by incorrect Docker image registry paths and lack of API token validation. The script was referencing the upstream ghcr.io/polarsource/polar images while the build workflow pushes to ghcr.io/exzosverse-os/exzos-pay.
Changes:
- Updated Docker image URLs to match the actual build output (
ghcr.io/exzosverse-os/exzos-payandghcr.io/exzosverse-os/exzos-pay-playwright) - Added early validation for
RENDER_API_TOKENto fail fast with a clear error message - Enhanced error reporting by capturing and displaying HTTP status codes in deployment failure messages
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
📋 Summary
Production deployments fail because
deploy_server.shreferences the upstreamghcr.io/polarsource/polarimage paths, while the build step pushes toghcr.io/exzosverse-os/exzos-pay. Additionally, an emptyRENDER_API_TOKENproduces silent failures with no useful diagnostics.🎯 What
deploy_server.shto match the actual build outputRENDER_API_TOKENvalidation🤔 Why
The CI logs show both
srv-ci4r87h8g3ne0dmvvl60andsrv-d4k6otfgi27c73cicnpgreturning empty responses with no HTTP status context. Two issues:ghcr.io/polarsource/polarwhich doesn't match the pushed image atghcr.io/exzosverse-os/exzos-payRENDER_API_TOKENsecret appears unset (logs show blank value instead of***), and the script has no guard for this🔧 How
RENDER_API_TOKENbefore any curl calls-w "\n%{http_code}"to the deploy curl call so failures report e.g.(HTTP 401)or(HTTP 404)instead of blank output🧪 Testing
uv run task testfor backend,pnpm testfor frontend)uv run task lint && uv run task lint_typesfor backend)Test Instructions
deploy.ymlbuild step anddeploy_server.shRENDER_API_TOKENis set in repo secrets, then re-run the deploy workflow🖼️ Screenshots/Recordings
N/A — CI/CD workflow change only.
📝 Additional Notes
Ran
shellcheck— all warnings are pre-existing (nameref false positives,localassignment style). No new warnings introduced.✅ Pre-submission Checklist
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.