Skip to content

Pass Cloudflare token #6

Pass Cloudflare token

Pass Cloudflare token #6

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