Skip to content

fix: add missing env vars to production deploy workflow#345

Merged
saddlepaddle merged 1 commit intomainfrom
dull-planarian-ca3b41
Dec 13, 2025
Merged

fix: add missing env vars to production deploy workflow#345
saddlepaddle merged 1 commit intomainfrom
dull-planarian-ca3b41

Conversation

@saddlepaddle
Copy link
Copy Markdown
Collaborator

@saddlepaddle saddlepaddle commented Dec 13, 2025

Summary

  • Add BLOB_READ_WRITE_TOKEN to API deploy job to fix build failure
  • Add NEXT_PUBLIC_WEB_URL to Marketing deploy job to fix build failure

Test plan

  • Verify API deployment succeeds after merge
  • Verify Marketing deployment succeeds after merge

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Enhanced production deployment workflows with new environment configuration for blob storage operations and web URL handling.

✏️ Tip: You can customize this high-level summary in your review settings.

Add BLOB_READ_WRITE_TOKEN to API deploy and NEXT_PUBLIC_WEB_URL to
Marketing deploy to fix CI failures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Dec 13, 2025

Walkthrough

Production deployment workflows have been updated to include two new environment secrets (BLOB_READ_WRITE_TOKEN and NEXT_PUBLIC_WEB_URL) across multiple deploy steps, enabling their availability during Vercel operations.

Changes

Cohort / File(s) Summary
Production Deployment Configuration
.github/workflows/deploy-production.yml
Added BLOB_READ_WRITE_TOKEN and NEXT_PUBLIC_WEB_URL environment secrets to deploy-api and deploy-marketing steps

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Straightforward environment variable additions to existing workflow steps
  • No logic or control flow changes
  • Homogeneous repetitive pattern across multiple deploy steps

Possibly related PRs

Poem

🐰 Secrets whisper through the workflows,
New tokens dance in Vercel's glow,
BLOB and WEB_URL find their way,
Deployment magic blooms today!

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: adding missing environment variables to the production deployment workflow.
Description check ✅ Passed The description covers the essential changes and includes a test plan, but is missing several template sections like Related Issues and Type of Change classification.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dull-planarian-ca3b41

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between af8a97b and ef94d4c.

📒 Files selected for processing (1)
  • .github/workflows/deploy-production.yml (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: Deploy Admin
  • GitHub Check: Deploy Web
  • GitHub Check: Deploy Marketing
  • GitHub Check: Deploy API
  • GitHub Check: Deploy Docs
  • GitHub Check: Build
🔇 Additional comments (2)
.github/workflows/deploy-production.yml (2)

66-82: Ensure BLOB_READ_WRITE_TOKEN exists in the GitHub “production” environment secrets and isn’t only repo-level.
The wiring looks correct; just confirm the secret name/scope matches how environment: production resolves secrets, otherwise this will still fail at runtime.


155-169: Double-check NEXT_PUBLIC_WEB_URL value is the intended production URL (and non-empty) since it becomes client-exposed.
Using a secret for a NEXT_PUBLIC_* value is fine, but a wrong value will ship to the browser and can break cross-app links / callbacks.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 13, 2025

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

Service Status
Neon Database (Neon)

Thank you for your contribution! 🎉


Preview resources have been processed for cleanup

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