File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ jobs:
114
114
- name : Pull Vercel Environment Information
115
115
run : bun run vercel pull --yes --environment=$VERCEL_ENVIRONMENT --token=${{ secrets.VERCEL_TOKEN }}
116
116
- name : Build Project Artifacts
117
- run : bun run vercel build --token=${{ secrets.VERCEL_TOKEN }}
117
+ run : bun run vercel build --target=$VERCEL_ENVIRONMENT -- token=${{ secrets.VERCEL_TOKEN }}
118
118
env :
119
119
SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
120
120
NEXT_SERVER_ACTIONS_ENCRYPTION_KEY : ${{ secrets.NEXT_SERVER_ACTIONS_ENCRYPTION_KEY }}
@@ -125,7 +125,7 @@ jobs:
125
125
- name : Deploy Project Artifacts to Vercel
126
126
id : deploy
127
127
run : |
128
- DEPLOYMENT_URL=$(bun run vercel deploy --prebuilt --target=$VERCEL_ENVIRONMENT $([ "$VERCEL_ENVIRONMENT" = "production" ] && echo "--prod") --token=${{ secrets.VERCEL_TOKEN }})
128
+ DEPLOYMENT_URL=$(bun run vercel deploy --prebuilt --target=$VERCEL_ENVIRONMENT --token=${{ secrets.VERCEL_TOKEN }})
129
129
echo "deployment-url=$DEPLOYMENT_URL" >> "$GITHUB_OUTPUT"
130
130
- name : Outputs
131
131
run : |
You can’t perform that action at this time.
0 commit comments