Skip to content

fix: add feixiaohao #40

fix: add feixiaohao

fix: add feixiaohao #40

Workflow file for this run

name: Deploy to Cloudflare
on:
push:
branches:
- main
- test
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install Wrangler
run: npm add -g wrangler
- name: Install Pnpm
run: npm add -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: npm run build
- name: Deploy to Cloudflare Pages
run: wrangler pages deploy --branch=main
env:
NODE_OPTIONS: "--max-old-space-size=8192"
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}