Skip to content

chore(deps): update jdx/mise-action digest to 249c01b (#535) #1162

chore(deps): update jdx/mise-action digest to 249c01b (#535)

chore(deps): update jdx/mise-action digest to 249c01b (#535) #1162

name: Publish to Cloudflare Pages
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
publish:
runs-on: ubuntu-24.04
permissions:
contents: read
deployments: write
steps:
- name: Checkout respository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Node.js
uses: jdx/mise-action@249c01ba271e19fa76eede7f766161cc95ace489 # 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@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca # v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: r4ai-dev
directory: ./dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}