Skip to content

Pass Cloudflare account ID #7

Pass Cloudflare account ID

Pass Cloudflare account ID #7

Workflow file for this run

name: Deploy to Cloudflare Pages
on: push
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Build site
run: bun run build
- name: Publish to Cloudflare Pages
run: bun run deploy --project-name pink
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}