Skip to content

fix: refactor into smaller functions #85

fix: refactor into smaller functions

fix: refactor into smaller functions #85

name: Deploy to Cloudflare Pages
on:
push:
jobs:
deploy-to-cloudflare:
name: Deploy to Cloudflare Pages
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20.10.0"
- name: Install Bun
run: npm install -g bun
- name: Wrangler Install
run: bun add wrangler
- name: Deploy to Cloudflare
run: bun run deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}