Skip to content

chore: initial commit #18

chore: initial commit

chore: initial commit #18

Workflow file for this run

name: deploy
on:
push:
branches: [main]
jobs:
production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- run: pnpm install
- name: Build
run: pnpm build
env:
NITRO_PRESET: cloudflare-module
NODE_OPTIONS: --max-old-space-size=4096
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: .output
preCommands: wrangler d1 migrations apply DB --remote --config server/wrangler.json
command: deploy