Skip to content

Deploy apexstem.org — Cloudflare Pages

Output: Astro → sites/apexstem/dist/
Domain: apexstem.org (public — no Cloudflare Access)
Related: docs deploy · site design


  1. Cloudflare dashboardWorkers & PagesCreatePagesConnect to Git.
  2. Authorize GitHub → select repo rexnfx79/STEMRacing.
  3. Project name: apexstem (live at apexstem.pages.dev)
  4. Production branch: main (or master)

Build settings

Setting Value
Framework preset Astro
Build command npm ci && npm run build
Build output directory dist
Root directory sites/apexstem

Environment variable (optional):

Variable Value
NODE_VERSION 22
  1. Save and Deploy — wait for first build green.
  2. Custom domainsSet up a custom domainapexstem.org (and www.apexstem.org if desired).
  3. DNS records should appear automatically (proxied CNAME). Apex domain may use CNAME flattening.

After deploy

  • Open https://apexstem.org — home, About, Programs, Teams, Sponsor, Donate, Contact, Privacy should load.
  • If SSL pending, wait up to 15 minutes.
  • Before public launch: treasurer sign-off on donate/sponsor copy, Zeffy embed on /donate, contact form embed on /contact.

Push to main under sites/apexstem/ runs .github/workflows/deploy-apexstem-org.yml.

Or: ActionsDeploy apexstem.orgRun workflow.

Requires repo secrets CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID (same as docs deploy).

Path C — Local build + Wrangler (manual)

cd sites/apexstem
npm ci
npm run build
npx wrangler pages deploy dist --project-name=apexstem

Requires Cloudflare API token with Pages edit permission.


Local development

cd sites/apexstem
npm install
npm run dev

Preview production build:

npm run build && npm run preview

Pre-launch checklist

  • [x] Donate page: Zeffy embed live (DonateFormEmbed.astro → campaign donate-to-apex-stem-education); treasurer spot-check after each campaign change
  • [ ] Contact page: Tally embed on /contact (form b5Dgq1 in ContactFormEmbed.astro; configure email notifications in Tally)
  • [ ] Privacy policy: board review
  • [ ] OG image / favicon (org logo when ready)
  • [ ] Ridge Racers footer links to apexstem.org (see repo root index.html)
  • [ ] Cross-link from design plan Phase 2a when build is green

Site map (MVP)

Path Page
/ Home
/about Mission, vision, values
/programs Four pillars + program formats
/teams Team listing
/teams/ridge-racers-nj Flagship team
/sponsor Tiers + inquiry
/donate Zeffy embed + 501(c)(3) status (EIN / determination date in consts.ts)
/contact Emails + form placeholder
/privacy Privacy policy draft

Phase 2: /impact, /news, /get-involved