Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/workflows/staging-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
name: Vercel staging deploy

# Auto-deploy to Vercel Preview on every push to dev. Workaround for the
# Vercel ↔ GitHub App pairing being unreliable across the OpenChainBench
# (user account) + mobula-labs (Vercel team) setup. The Action calls the
# Vercel CLI directly with VERCEL_TOKEN, bypassing the App webhook flow.
#
# Required GitHub secrets (Settings → Secrets and variables → Actions):
# VERCEL_TOKEN — vercel.com/account/tokens, scope = mobula-labs
# VERCEL_ORG_ID — team_FBSeNa7wUR3XTi1ucbjRdAAv
# VERCEL_PROJECT_ID — prj_IgUo7t17IBKw5XBBz9IiarFkIVOs

on:
push:
branches:
Expand Down Expand Up @@ -61,7 +51,7 @@ jobs:
vercel alias set "${{ steps.deploy.outputs.url }}" \
staging-openchainbench.vercel.app \
--token=${{ secrets.VERCEL_TOKEN }} \
--scope=mobula-labs
--scope=${{ secrets.VERCEL_ORG_ID }}

- name: Comment summary
run: |
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This version has breaking changes. APIs, conventions, and file structure may all
Two long-lived branches:

- `main` → openchainbench.com (production). Vercel auto-deploy on push is **disabled**; production deploys are **manual** via `vercel --prod` from a checkout of `main`.
- `dev` → staging. Each push triggers `.github/workflows/vercel-staging.yml` which calls Vercel CLI with a token and emits a Preview URL. The Vercel GitHub App is NOT used for staging because the OpenChainBench user account + mobula-labs Vercel team pairing wouldn't propagate.
- `dev` → staging. Each push triggers `.github/workflows/staging-deploy.yml` which calls Vercel CLI with a token and emits a Preview URL.

**Standard flow:**

Expand Down
Loading