Actions

Add the secrets and run the Vercel Dev Preview workflow

Finish wiring GitHub to Vercel so every push or pull request can ship a predictable preview.

Add repository secrets

  1. In GitHub, open Settings → Secrets and variables → Actions → New repository secret.
  2. Add VERCEL_TOKEN, VERCEL_ORG_ID, and VERCEL_PROJECT_ID using the values from the earlier guides.
  3. Optional: add VERCEL_DEV_ALIAS for a stable preview URL.
  4. Optional: add GH_PAT if you created a GitHub token.

Trigger the workflow

  1. Open the repository’s Actions tab and enable the Vercel Dev Preview workflow if it is paused.
  2. Push to main or dev or run Run workflow manually to build and deploy.
  3. Pull requests targeting main or dev automatically publish a preview URL.
  4. If VERCEL_DEV_ALIAS is set, pushes to main/dev alias automatically; manual runs can also alias when the set_alias input is true.

Launch the OpenAI Workbench

The OpenAI Workbench keeps a Vercel and GitHub panel ready so you can paste these secrets once and deploy test previews straight from the portal. Tokens stay in your browser while deploy notes and URLs sync through Gun for easy sharing.

⬅ Back to guides Restart: GitHub token OpenAI Workbench