ci(vercel): add Vercel + Cloudflare deploy pipeline for dailyfocus.moretes.com#11
Open
fernandofatech wants to merge 1 commit into
Open
ci(vercel): add Vercel + Cloudflare deploy pipeline for dailyfocus.moretes.com#11fernandofatech wants to merge 1 commit into
fernandofatech wants to merge 1 commit into
Conversation
…retes.com - Add .github/workflows/vercel.yml (preview on PR, prod on main) - Add .github/workflows/frontend.yml (lint + build) - Add .github/workflows/security.yml (if missing) - Add SETUP.md with step-by-step Vercel + Cloudflare wiring Workflows skip gracefully when VERCEL_TOKEN / ORG_ID / PROJECT_ID secrets are not configured, so this PR keeps CI green until secrets are added.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds GitHub Actions workflows and a step-by-step
SETUP.mdso this repo can be deployed to Vercel on thedailyfocus.moretes.comsubdomain.vercel.yml— preview on PR, production onmain. Skips gracefully when secrets are missing.frontend.yml— lint + build sanity check.security.yml— added if it wasn't already present.SETUP.md— Vercel project setup, secrets, custom domain, Cloudflare CNAME.Root directory for the project:
..Test plan
gh secret set VERCEL_TOKEN/ORG_ID/PROJECT_ID -R fernandofatech/dailyfocusdailyfocus.moretes.comin Vercel Domainsdailyfocus→cname.vercel-dns.com(DNS only) in Cloudflarecurl -I https://dailyfocus.moretes.comreturns 200 from Vercel