Skip to content

Deploy

Deploy #183

Workflow file for this run

name: Deploy
on:
workflow_run:
workflows: ["Check"]
branches: ["master"]
types:
- completed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build
- uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
projectName: ${{ secrets.CF_PROJECT_NAME }}
branch: main
directory: dist