diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d870211e..6213dae9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,14 +59,14 @@ jobs: run: pnpm install --global vercel@latest - name: Pull Vercel Environment Information if: ${{ steps.latest-version-tag.outputs.tag != '' }} - run: vercel pull --yes --environment=production --token=${{ env.VERCEL_DEPLOY_TOKEN }} + run: vercel pull --yes --cwd apps/web --environment=production --token=${{ env.VERCEL_DEPLOY_TOKEN }} - name: Build Project Artifacts with latest version if: ${{ steps.latest-version-tag.outputs.tag != '' }} run: | echo "Latest tag: ${LATEST_TAG}" - vercel build --prod --token=${{ env.VERCEL_DEPLOY_TOKEN }} NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}" -e NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}" + vercel build --prod --cwd apps/web --token=${{ env.VERCEL_DEPLOY_TOKEN }} NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}" env: LATEST_TAG: ${{ steps.latest-version-tag.outputs.tag }} - name: Deploy Project Artifacts to Vercel if: ${{ steps.latest-version-tag.outputs.tag != '' }} - run: vercel deploy --prebuilt --prod --token=${{ env.VERCEL_DEPLOY_TOKEN }} + run: vercel deploy --prebuilt --prod --cwd apps/web --token=${{ env.VERCEL_DEPLOY_TOKEN }}