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
8 changes: 8 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,14 @@ jobs:
- name: Install Vercel CLI
run: bun add --global vercel@$VERCEL_CLI_VERSION

# Production deploys on main write this cache; a PR only reads it.
- name: Restore Next.js build cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: apps/docs/.next/cache
key: next-docs-${{ github.sha }}
restore-keys: next-docs-

- name: Build and Deploy Docs
id: deploy
env:
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
key: ${{ runner.os }}-bun-${{ steps.setup-bun.outputs.bun-revision }}-${{ hashFiles('bun.lock') }}

- name: Install Vercel CLI
run: npm install --global vercel@$VERCEL_CLI_VERSION
run: bun add --global vercel@$VERCEL_CLI_VERSION

- name: Cache Next.js build cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
key: ${{ runner.os }}-bun-${{ steps.setup-bun.outputs.bun-revision }}-${{ hashFiles('bun.lock') }}

- name: Install Vercel CLI
run: npm install --global vercel@$VERCEL_CLI_VERSION
run: bun add --global vercel@$VERCEL_CLI_VERSION

- name: Cache Next.js build cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
Expand Down Expand Up @@ -398,7 +398,7 @@ jobs:
key: ${{ runner.os }}-bun-${{ steps.setup-bun.outputs.bun-revision }}-${{ hashFiles('bun.lock') }}

- name: Install Vercel CLI
run: npm install --global vercel@$VERCEL_CLI_VERSION
run: bun add --global vercel@$VERCEL_CLI_VERSION

- name: Cache Next.js build cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
Expand Down Expand Up @@ -491,7 +491,7 @@ jobs:
key: ${{ runner.os }}-bun-${{ steps.setup-bun.outputs.bun-revision }}-${{ hashFiles('bun.lock') }}

- name: Install Vercel CLI
run: npm install --global vercel@$VERCEL_CLI_VERSION
run: bun add --global vercel@$VERCEL_CLI_VERSION

- name: Cache Next.js build cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
Expand Down Expand Up @@ -761,7 +761,7 @@ jobs:

deploy-docs:
name: Deploy Docs to Vercel
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
environment: production
needs: deploy-database

Expand All @@ -782,7 +782,14 @@ jobs:
key: ${{ runner.os }}-bun-${{ steps.setup-bun.outputs.bun-revision }}-${{ hashFiles('bun.lock') }}

- name: Install Vercel CLI
run: npm install --global vercel@$VERCEL_CLI_VERSION
run: bun add --global vercel@$VERCEL_CLI_VERSION

- name: Cache Next.js build cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: apps/docs/.next/cache
key: next-docs-${{ github.sha }}
restore-keys: next-docs-

- name: Build and Deploy Docs
env:
Expand Down
Loading