From 835d1556d971ab4a114a574bd58f6e42ec2b1899 Mon Sep 17 00:00:00 2001 From: michelleyeoh Date: Sun, 3 May 2026 21:28:56 -0700 Subject: [PATCH] add vercel pull comment before build --- .github/workflows/production.yaml | 6 ++++++ .github/workflows/staging.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index 5f56529a..98a12f1f 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -62,6 +62,12 @@ jobs: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} + - name: Pull Vercel Environment Information + run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} + - name: Build Project Artifacts run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} env: diff --git a/.github/workflows/staging.yaml b/.github/workflows/staging.yaml index c2065034..a6a18915 100644 --- a/.github/workflows/staging.yaml +++ b/.github/workflows/staging.yaml @@ -63,6 +63,12 @@ jobs: env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} + + - name: Pull Vercel Environment Information + run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - name: Build Project Artifacts run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}