Skip to content

Commit

Permalink
fix: pass subdirectory to npx vercel for release script post monorepo (
Browse files Browse the repository at this point in the history
…#398)

Followup to #397 and #396 

## What changed? Why?
Fixes the command once more so we actually use the right subdirectory
instead of deploying the top level folder
  • Loading branch information
dgattey committed Sep 18, 2023
2 parents 6d421b7 + 1a671b3 commit 04dd420
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
prodRun="--prod"
fi
echo "Latest tag: ${LATEST_TAG}"
npx vercel --token ${VERCEL_DEPLOY_TOKEN} $prodRun -b NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}" -e NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}"
npx vercel --cwd apps/web --token ${VERCEL_DEPLOY_TOKEN} $prodRun -b NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}" -e NEXT_PUBLIC_APP_VERSION="${LATEST_TAG}"
env:
LATEST_TAG: ${{ steps.latest-version-tag.outputs.tag }}
VERCEL_DEPLOY_TOKEN: ${{ secrets.VERCEL_DEPLOY_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions apps/web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vercel
File renamed without changes.

1 comment on commit 04dd420

@vercel
Copy link

@vercel vercel bot commented on 04dd420 Sep 18, 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 – ./

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

Please sign in to comment.