Files
landing/.gitea/workflows/deploy.yaml
Sanil Chawla e88a3dfd52 ci(config): add cloudflare pages deployment via gitea actions
adds wrangler.json for static output config and a gitea actions
workflow that builds with bun and deploys to cloudflare pages on
pushes to main.
2026-02-11 23:35:40 -08:00

29 lines
612 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 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