Skip to content

Merge pull request #1335 from tapexyz/remove #108

Merge pull request #1335 from tapexyz/remove

Merge pull request #1335 from tapexyz/remove #108

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