Skip to content
@magnushammar
GitHubTwitter

Deploy hammar-org on Cloudflare

Create a new Cloudflare Pages

  • Local: Push the Starlight repo to Github
  • CF: Connect GIT > Github
  • GH: Install & Authorize Cloudflare Pages > Specific repo: hammar-org

Setup builds and deployments

  • Project name: hammar-org
  • Production bransch: main
  • Framework preset: Astro
  • Build command: npm run build
  • Build output directory: dist

DNS

I got the site hosted on https://hammar-org.pages.dev/ so I update the ALIAS and CNAME to that.