Skip to content

Update _index.tsx

Update _index.tsx #111

Workflow file for this run

name: Web Deployment
on:
push:
branches:
- 'main'
paths:
- 'apps/web/**'
jobs:
deploy-production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install
- run: bun run build --filter=web
env:
VITE_API_URL: ${{ secrets.VITE_API_URL }}
VITE_CLOUDFLARE_TURNSTILE_SITE_KEY: ${{ secrets.VITE_CLOUDFLARE_TURNSTILE_SITE_KEY }}
- name: Deploy
uses: AdrianGonz97/refined-cf-pages-action@v1
with:
githubToken: ${{ secrets.GH_TOKEN }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: instant-postgres
directory: ./build/client
workingDirectory: ./apps/web
deploymentName: web
branch: main