c2baf6923b
New .gitea/workflows/website.yaml: on a push to main or website that touches website/**, build the Astro site with pnpm and deploy website/dist to the `relplay` Cloudflare Pages project via wrangler — --branch selects production (main) vs preview (website). Runs on the bare ci-public runner (node present; pnpm via corepack). Pin pnpm with package.json's packageManager for deterministic corepack installs. Requires repo Actions secrets CLOUDFLARE_API_TOKEN + CLOUDFLARE_ACCOUNT_ID.
24 lines
584 B
JSON
24 lines
584 B
JSON
{
|
|
"name": "rdbms-playground-website",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"packageManager": "pnpm@10.30.3",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"casts": "node casts-src/generate.mjs",
|
|
"astro": "astro"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/starlight": "^0.40.0",
|
|
"@astrojs/starlight-tailwind": "^5.0.0",
|
|
"@tailwindcss/vite": "^4.3.0",
|
|
"asciinema-player": "^3.15.1",
|
|
"astro": "^6.4.5",
|
|
"sharp": "^0.34.5",
|
|
"tailwindcss": "^4.3.0"
|
|
}
|
|
} |