Skip to content

Merge pull request #1336 from tapexyz/rm-anal #109

Merge pull request #1336 from tapexyz/rm-anal

Merge pull request #1336 from tapexyz/rm-anal #109

Workflow file for this run

name: WORKERS - Production Deployment
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
name: Deploy
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: Check Lint 💅🏻
run: bun lint && bun typecheck
- name: Deploy 🚀
run: |
bun install --global wrangler
bun api:deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}