Skip to content

Bump dependency versions #102

Bump dependency versions

Bump dependency versions #102

Workflow file for this run

name: 'Next.js Deployment'
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'apps/next/**'
- 'packages/ui/**'
- 'packages/app/**'
jobs:
publish:
name: Publish to Cloudflare Pages
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
deployments: write
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
- name: 📥 Monorepo install
uses: ./.github/actions/pnpm-install
- name: Build
run: |
cd apps/next
export TAMAGUI_TARGET=web
export NEXT_PUBLIC_API_URL=${{ secrets.NEXT_PUBLIC_API_URL }}
export NEXT_PUBLIC_APP_URL=${{ secrets.NEXT_PUBLIC_APP_URL }}
export NEXT_PUBLIC_SUPABASE_URL=${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
export NEXT_PUBLIC_SUPABASE_ANON_KEY=${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}
pnpx @cloudflare/next-on-pages
- name: Publish to Cloudflare Pages
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
projectName: ${{ secrets.CF_PROJECT_NAME }}
directory: .vercel/output/static
branch: main
wranglerVersion: '3'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
workingDirectory: apps/next