This repository contains the source code for the SGAIN website. The website is built using Astro, and is deployed to Hostinger.
This project is deployed to Cloudflare using the Astro Cloudflare adapter and Wrangler.
The deployment configuration lives in wrangler.jsonc:
- Worker name:
sgain-website - Worker entrypoint:
@astrojs/cloudflare/entrypoints/server - Static assets directory:
dist - Static assets binding:
ASSETS
Useful commands:
# Generate Cloudflare environment types
pnpm generate-types
# Build and preview with Wrangler
pnpm cf:preview
# Build and deploy to Cloudflare
pnpm cf:deploy