Skip to content

feat: kill port 8787 before starting dev #66

feat: kill port 8787 before starting dev

feat: kill port 8787 before starting dev #66

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