Skip to content

Commit

Permalink
install bun (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bowman authored Jan 24, 2024
1 parent 1b4bcf4 commit 22c7158
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/deployweb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,27 @@ env:
on:
push:
tags:
- 'fe/v*' # Push events to every tag not containing /
- "fe/v*" # Push events to every tag not containing /

jobs:
Deploy-Production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Vercel CLI
run: npm install --global vercel@^33.2.0 # Replace with the current major version

- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest # or specify a version

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}

- name: Build Project Artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}

- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit 22c7158

Please sign in to comment.