diff --git a/.github/workflows/apps-ui-kit-preview.deploy.yml b/.github/workflows/apps-ui-kit-preview.deploy.yml index 27cef00871c..69d291da58f 100644 --- a/.github/workflows/apps-ui-kit-preview.deploy.yml +++ b/.github/workflows/apps-ui-kit-preview.deploy.yml @@ -33,7 +33,7 @@ jobs: - name: Install Vercel CLI run: pnpm add --global vercel@canary - name: Pull Vercel Environment Information - run: vercel pull ./apps/ui-kit --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} + run: vercel pull --cwd ./apps/ui-kit --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} - name: Build Project Artifacts run: vercel build --cwd ./apps/ui-kit --token=${{ secrets.VERCEL_TOKEN }} - name: Deploy Project Artifacts to Vercel diff --git a/.github/workflows/apps-ui-kit-production.deploy.yml b/.github/workflows/apps-ui-kit-production.deploy.yml index 3479b9d58ac..f1d50fe5161 100644 --- a/.github/workflows/apps-ui-kit-production.deploy.yml +++ b/.github/workflows/apps-ui-kit-production.deploy.yml @@ -30,9 +30,9 @@ jobs: - name: Install Vercel CLI run: pnpm add --global vercel@canary - name: Pull Vercel Environment Information - run: vercel pull ./apps/ui-kit --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + run: vercel pull --cwd ./apps/ui-kit --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} - name: Build Project Artifacts - run: vercel build --cwd ./apps/ui-kit --token=${{ secrets.VERCEL_TOKEN }} + run: vercel build --prod --cwd ./apps/ui-kit --token=${{ secrets.VERCEL_TOKEN }} - name: Deploy Project Artifacts to Vercel run: vercel deploy --cwd ./apps/ui-kit --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }} > vercel_output.txt - name: Extract Deploy URL