Skip to content

doc: fix

doc: fix #58

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Generate static pages
run: bun run build
- name: Copy header & redirect specific files
run: cp _headers dist/_headers & cp _redirects dist/_redirects
- name: Publish CF website
run: bunx wrangler@latest pages deploy dist --project-name capgo-website --branch main
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}