Personal site for ItsAydrian LLC, built with Astro and deployed to Cloudflare Workers.
Requires Node.js >= 22.12.0 and Bun.
# Install dependencies
bun install
# Start dev server
bun dev
# Build for production
bun run build
# Preview production build locally
bun run preview# Build and deploy to Cloudflare
bun run deployThe site deploys automatically via GitHub Actions:
- Pull request: Deploys a preview worker and comments the URL on the PR
- Push to
main: Deploys to production (itsaydrian-astro) - Push to
refactor-astro: Builds to verify no issues, but does not deploy
Required repository secrets:
CLOUDFLARE_API_TOKENCLOUDFLARE_ACCOUNT_ID
/
├── public/ # Static assets
├── src/
│ ├── layouts/ # Page layouts
│ ├── pages/ # Routes
│ ├── scripts/ # Client-side JS
│ └── styles/ # Global CSS
├── astro.config.mjs
└── wrangler.jsonc # Cloudflare Worker config