Skip to content

Merge branch 'main' of github.com:jonogon/jonogon-web #12

Merge branch 'main' of github.com:jonogon/jonogon-web

Merge branch 'main' of github.com:jonogon/jonogon-web #12

name: Jonogon Web to Cloudflare
on:
push:
branches:
- production
paths:
- apps/jonogon-web/**/*
- .github/workflows/web-to-cloudflare.yml
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
- run: npm install -g pnpm
- run: pnpm install
- run: pnpm build
- run: pnpx wrangler pages deploy --project-name jonogon-web --branch main ./
working-directory: ./apps/jonogon-web/dist/
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}