Skip to content

Conversation

@wab
Copy link
Collaborator

@wab wab commented Nov 13, 2025

Add Branch-Specific Content Targeting for Vercel Deployments

Implements environment-based branch targeting to enable testing
content from different branches of ocobo-posts repository.

Changes

  • Environment: Add GITHUB_BRANCH env var (defaults to main)
  • API: Update GitHub API calls to include ?ref= parameter
  • Testing: Create offers branch with 3 placeholder job offers
  • Documentation: Update .env.sample and add deployment strategy
    guide

Usage

Production (automatic)

Uses main branch content

Testing/Preview

GITHUB_BRANCH=offers # Uses placeholder offers

Testing

Set GITHUB_BRANCH=offers in Vercel environment to test the new
offers feature with placeholder content.

@vercel
Copy link

vercel bot commented Nov 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
ocobo Ready Ready Preview Nov 13, 2025 10:39am

@wab wab merged commit 00a23c6 into main Nov 13, 2025
4 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.

2 participants