Skip to content

Add GitHub discussion pages #9

Add GitHub discussion pages

Add GitHub discussion pages #9

Workflow file for this run

name: cloudflare
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: Checkout
uses: actions/checkout@master
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm run generate
env:
NITRO_PRESET: cloudflare_module
- name: Publish to Cloudflare
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}