Skip to content

.github/workflows/deploy.yml #51

.github/workflows/deploy.yml

.github/workflows/deploy.yml #51

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: Install
run: pnpm install
- name: Build
run: pnpm run build
env:
NITRO_PRESET: cloudflare_pages
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
- name: Deploy to Cloudflare
run: npx wrangler pages deploy dist/ --project-name=kirbyseo
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}