Skip to content

fix: logpush not available for free account #29

fix: logpush not available for free account

fix: logpush not available for free account #29

name: Deploy production
on:
push:
branches: [main]
jobs:
deploy-production:
runs-on: ubuntu-latest
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
DATABASE_URL: ${{ secrets.PRODUCTION_DATABASE_URL }}
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- run: pnpm i
- run: pnpm run lint
- run: pnpm run typecheck
- run: pnpm run --filter @dinstack/api db:migrate
- run: pnpm run deploy:production