Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Worker
on:
push:
branches: [main]
paths: ["worker/**"]
paths: ["worker/**", "site/**"]

jobs:
deploy:
Expand All @@ -15,7 +15,15 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Install dependencies
- name: Install site dependencies
run: bun install
working-directory: site

- name: Build site
run: bun run build
working-directory: site

- name: Install worker dependencies
run: bun install
working-directory: worker

Expand Down
1 change: 1 addition & 0 deletions worker/wrangler.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "coffee",
"account_id": "94480614a6df7731f1e4491bdac5c440",
"main": "src/index.ts",
"compatibility_date": "2025-02-03",
"assets": {
Expand Down