Files
landing/.gitea/workflows/deploy.yaml
Sanil Chawla 16bd0790de
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 26s
fix(ci): switch from wrangler.json to wrangler.toml for Pages compat
Pages deploy only reads pages_build_output_dir from wrangler.toml,
not wrangler.json.
2026-02-11 23:55:51 -08:00

34 lines
717 B
YAML

name: Deploy to Cloudflare Pages
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun run build
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy