Skip to content

Deploy docs previews from a GitHub workflow - #1568

Merged
timostamm merged 2 commits into
mainfrom
tstamm/docs-deploy
Oct 14, 2026
Merged

timostamm merged 2 commits into
mainfrom
tstamm/docs-deploy

Conversation

@timostamm

Copy link
Copy Markdown
Member

Pull requests from forks currently get a failing "Vercel" status. This happens even when they don't touch docs/.

This copies the setup from protobuf-py:

  • A new docs workflow builds the docs for PRs that touch docs/. For PRs from branches in this repo, it also deploys a Vercel preview through the API.
  • ignoreCommand is removed from vercel.json. Previews are now filtered by the workflow's paths.

Pull requests from forks currently get a failing "Vercel" status. This happens even when they don't touch `docs/`.

This copies the setup from protobuf-py:
- A new docs workflow builds the docs for PRs that touch `docs/`. For PRs from branches in this repo, it also deploys a Vercel preview through the API.
- `ignoreCommand` is removed from `vercel.json`. Previews are now filtered by the workflow's paths.
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
protobuf-es Ready Ready Preview Oct 13, 2026 3:12pm UTC

Request Review

@timostamm
timostamm deployed to docs-preview October 13, 2026 15:12 — with GitHub Actions Active
@timostamm
timostamm marked this pull request as ready for review October 13, 2026 15:17
@timostamm
timostamm requested a review from ajeetdsouza October 13, 2026 15:19
@timostamm
timostamm merged commit d0b3763 into main Oct 14, 2026
29 checks passed
@timostamm
timostamm deleted the tstamm/docs-deploy branch October 14, 2026 09:06

This branch was successfully deployed

2 active deployments
docs-preview — fa66d1ee Deployed Oct 13, 2026 by timostamm via preview #2
Preview — fa66d1ee Deployed Oct 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants