Skip to content

fix(deps): update dependency zod to v3.23.8 #19

fix(deps): update dependency zod to v3.23.8

fix(deps): update dependency zod to v3.23.8 #19

name: Publish to Cloudflare Pages
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
publish:
runs-on: ubuntu-22.04
permissions:
contents: read
deployments: write
steps:
- name: Checkout respository
uses: actions/checkout@v4
- name: Setup Node.js
uses: jdx/mise-action@v2
env:
MISE_NODE_COREPACK: true
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build website
run: pnpm run build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: r4ai-dev
directory: ./dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}