Skip to content

Commit

Permalink
fix: [Releases] actually use the right name for the token... (#408)
Browse files Browse the repository at this point in the history
Followup to #405 

## What changed? Why?
Wow, this was silly - I just used the wrong token. This hopefully uses
the right one now!
  • Loading branch information
dgattey committed Oct 1, 2023
2 parents 8065db9 + 1e2abcf commit 3e1f88a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ jobs:

- name: Install Vercel CLI
if: ${{ steps.latest-version-tag.outputs.tag != '' }}
run: npm install --global vercel@latest
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_TOKEN }}
run: vercel pull --yes --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_TOKEN }} NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}" -e NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}"
vercel build --prod --token=${{ env.VERCEL_DEPLOY_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=${{ env.VERCEL_TOKEN }}
run: vercel deploy --prebuilt --prod --token=${{ env.VERCEL_DEPLOY_TOKEN }}

1 comment on commit 3e1f88a

@vercel
Copy link

@vercel vercel bot commented on 3e1f88a Oct 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dg – ./

dg-dgattey.vercel.app
dylangattey.com
dg.vercel.app
dg-git-main-dgattey.vercel.app

Please sign in to comment.