From 13417da19798eea15fe2da7c990ade28d4c33b5d Mon Sep 17 00:00:00 2001 From: Dylan Gattey Date: Sun, 1 Oct 2023 15:10:15 -0700 Subject: [PATCH] one more try on env syntax --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fad70c7a..1757e0b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,14 +59,14 @@ jobs: run: npm install --global vercel@latest - name: Pull Vercel Environment Information if: ${{ steps.latest-version-tag.outputs.tag != '' }} - run: vercel pull --yes --environment=production --token=${VERCEL_TOKEN} + run: vercel pull --yes --environment=production --token=${{ env.VERCEL_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=${VERCEL_TOKEN} NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}" -e NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}" + vercel build --prod --token=${{ env.VERCEL_TOKEN }} NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}" -e 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=${VERCEL_TOKEN} + run: vercel deploy --prebuilt --prod --token=${{ env.VERCEL_TOKEN }}