Skip to content

Update feedback ID generation logic in createFeedback.ts #4

Update feedback ID generation logic in createFeedback.ts

Update feedback ID generation logic in createFeedback.ts #4

Workflow file for this run

name: API Deployment
on:
push:
branches:
- main
paths:
- 'apps/api/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Migrations
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: ./apps/api
command: d1 migrations apply interviews_db
- name: Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
wranglerVersion: "3.50.0"
workingDirectory: ./apps/api
command: deploy --minify