Skip to content

ci(vercel): add Vercel + Cloudflare deploy pipeline for dac.moretes.com#11

Open
fernandofatech wants to merge 1 commit into
mainfrom
ci/vercel-cloudflare-setup
Open

ci(vercel): add Vercel + Cloudflare deploy pipeline for dac.moretes.com#11
fernandofatech wants to merge 1 commit into
mainfrom
ci/vercel-cloudflare-setup

Conversation

@fernandofatech
Copy link
Copy Markdown
Owner

Summary

Adds GitHub Actions workflows and a step-by-step SETUP.md so this repo can be deployed to Vercel on the dac.moretes.com subdomain.

  • vercel.yml — preview on PR, production on main. 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: web.

Test plan

  • Create the Vercel project as described in SETUP.md
  • gh secret set VERCEL_TOKEN/ORG_ID/PROJECT_ID -R fernandofatech/diagram-as-code
  • Add dac.moretes.com in Vercel Domains
  • Add CNAME daccname.vercel-dns.com (DNS only) in Cloudflare
  • curl -I https://dac.moretes.com returns 200 from Vercel

- 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.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

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

Project Deployment Actions Updated (UTC)
diagram-as-code Ready Ready Preview, Comment, Open in v0 May 16, 2026 2:28am

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.

1 participant