Skip to content

ci: deploy to Vercel from GitHub Actions - #670

Merged
devknight-ink merged 2 commits into
mainfrom
chore/vercel-deploy-ci
Sep 14, 2026
Merged

devknight-ink merged 2 commits into
mainfrom
chore/vercel-deploy-ci

Conversation

@devknight-ink

@devknight-ink devknight-ink commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

What

Adds Vercel deployment to the existing CI workflow:

  • Production deploy on every push to main
  • Preview deploys for PR branches in this repo (fork PRs are skipped, they can't access secrets)

Why

We're moving docs hosting off Kraken infra onto the foundation-owned Vercel team. The repo lives in the inkonchain org where the Vercel GitHub App isn't installed, so this deploys via CLI with a VERCEL_TOKEN repo secret instead. No org-level app install needed.

Before merging

A VERCEL_TOKEN secret (scoped to the Ink Foundation Vercel team) must be added to this repo's Actions secrets.

Notes

  • The docker-publish job stays untouched until DNS cutover; Kraken's deployment keeps working in the meantime.
  • Follow-up PR after cutover will remove Dockerfile, amplify.yml, and the docker-publish job.

Heads up for the future

If the Vercel GitHub App is ever installed on the inkonchain org and the repo gets connected natively (the "Connect Git Repository" button in the Vercel dashboard), remove the vercel-preview and vercel-deploy jobs in the same change, otherwise every merge deploys twice.

@devknight-ink
devknight-ink requested a review from a team as a code owner September 14, 2026 09:37
Comment thread .github/workflows/cicd.yaml Fixed
Comment thread .github/workflows/cicd.yaml Fixed
Comment thread .github/workflows/cicd.yaml Fixed
Comment thread .github/workflows/cicd.yaml Fixed
Comment thread .github/workflows/cicd.yaml Fixed
Comment thread .github/workflows/cicd.yaml Fixed
Comment thread .github/workflows/cicd.yaml Fixed
Comment thread .github/workflows/cicd.yaml Fixed
- Add production deploy job on pushes to main
- Add preview deploys for same-repo PR branches
- Ignore .vercel and .env* locally

Uses a VERCEL_TOKEN repo secret instead of the Vercel GitHub App,
so no app install is needed on the inkonchain org.
Pin actions/checkout to a hash, set persist-credentials: false, and
scope permissions to contents: read on both new jobs.
@devknight-ink
devknight-ink merged commit 2a48e6b into main Sep 14, 2026
17 checks passed
@devknight-ink
devknight-ink deleted the chore/vercel-deploy-ci branch September 14, 2026 14:40
pull Bot pushed a commit to sigma7863/inkonchain-docs that referenced this pull request Sep 14, 2026
Docs now deploy to Vercel via CI (inkonchain#670) and docs.inkonchain.com has
cut over. Remove the unused Dockerfile, .dockerignore, amplify.yml
and the docker-publish job, and serialize production deploys with a
concurrency group.
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