Skip to content

chore(extension,web): chrome web store pre-flight #16

chore(extension,web): chrome web store pre-flight

chore(extension,web): chrome web store pre-flight #16

Workflow file for this run

name: Deploy Pages
on:
push:
branches: [main]
paths:
- "apps/web/**"
- "docs/**"
- "packages/shared/**"
jobs:
deploy-web:
name: Deploy Web App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @bridgehook/web build
env:
VITE_RELAY_URL: https://bridgehook-relay.halleluyaholudele.workers.dev
- run: npx wrangler pages deploy apps/web/dist --project-name=bridgehook-web
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
deploy-docs:
name: Deploy Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @bridgehook/docs build
- run: npx wrangler pages deploy docs/dist --project-name=bridgehook-docs
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}