Skip to content

chore: upgrade dependencies #151

chore: upgrade dependencies

chore: upgrade dependencies #151

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
env:
KIRBY_BASE_URL: ${{ secrets.KIRBY_BASE_URL }}
KIRBY_API_TOKEN: ${{ secrets.KIRBY_API_TOKEN }}
- name: Build
run: pnpm run build
env:
NITRO_PRERENDER_PAGES: true
NITRO_PRESET: cloudflare_pages
KIRBY_BASE_URL: ${{ secrets.KIRBY_BASE_URL }}
KIRBY_API_TOKEN: ${{ secrets.KIRBY_API_TOKEN }}
- name: Deploy to Cloudflare
run: npx wrangler pages deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}