Skip to content

feat: added instructions to deploy to Cloudflare Workers #80

feat: added instructions to deploy to Cloudflare Workers

feat: added instructions to deploy to Cloudflare Workers #80

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 }}