Skip to content

chore: upgrade Nuxt KQL module #124

chore: upgrade Nuxt KQL module

chore: upgrade Nuxt KQL module #124

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Set up .env
run: cp .env.example .env
- name: Install
run: pnpm install
- name: Build
run: pnpm run build
env:
NITRO_PRERENDER_PAGES: true
NITRO_PRESET: cloudflare_pages
- name: Deploy to Cloudflare
run: npx wrangler pages deploy dist/ --project-name=cacao-kit
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}