Skip to content

Commit 646c78f

Browse files
committed
feat: update deployment workflow to include dependency installation
- Added a step to install dependencies using Bun before deploying the API and web applications. - Renamed the build step for the web app to improve clarity and maintainability.
1 parent fae1f66 commit 646c78f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@ jobs:
1212
with:
1313
bun-version: 1.2.7
1414
- uses: actions/checkout@v4
15+
- name: Install dependencies
16+
run: bun install
1517
- name: Deploy API
1618
uses: cloudflare/wrangler-action@v3
1719
with:
1820
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
1921
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
2022
workingDirectory: apps/api
2123
packageManager: bun
22-
- name: Build
23-
run: bun install && cd apps/web-app && bun run build
24+
- name: Build Web App
25+
run: cd apps/web-app && bun run build
2426
- name: Deploy Web App
2527
uses: cloudflare/wrangler-action@v3
2628
with:

0 commit comments

Comments
 (0)