File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ---
Original file line number Diff line number Diff line change 8686 id : deploy-preview
8787 if : env.IS_PRODUCTION == 'false'
8888 run : |
89+ rm -rf .git # Remove the .git directory to avoid vercel to read the current author
8990 DEPLOYMENT_URL=$(vercel deploy --prebuilt --token ${{ secrets.VERCEL_TOKEN }})
9091 echo "deployment_url=$DEPLOYMENT_URL" >> $GITHUB_OUTPUT
9192 echo "Preview deployment URL: $DEPLOYMENT_URL"
@@ -101,4 +102,6 @@ jobs:
101102
102103 - name : Deploy to Vercel (Production)
103104 if : env.IS_PRODUCTION == 'true'
104- run : vercel deploy --prebuilt --prod --token ${{ secrets.VERCEL_TOKEN }}
105+ run : |
106+ rm -rf .git # Remove the .git directory to avoid vercel to read the current author
107+ vercel deploy --prebuilt --prod --token ${{ secrets.VERCEL_TOKEN }}
Original file line number Diff line number Diff line change 9292 id : deploy-preview
9393 if : env.IS_PRODUCTION == 'false'
9494 run : |
95+ rm -rf .git # Remove the .git directory to avoid vercel to read the current author
9596 DEPLOYMENT_URL=$(vercel deploy --prebuilt --token ${{ secrets.VERCEL_TOKEN }})
9697 echo "deployment_url=$DEPLOYMENT_URL" >> $GITHUB_OUTPUT
9798 echo "Preview deployment URL: $DEPLOYMENT_URL"
@@ -107,4 +108,6 @@ jobs:
107108
108109 - name : Deploy to Vercel (Production)
109110 if : env.IS_PRODUCTION == 'true'
110- run : vercel deploy --prebuilt --prod --token ${{ secrets.VERCEL_TOKEN }}
111+ run : |
112+ rm -rf .git # Remove the .git directory to avoid vercel to read the current author
113+ vercel deploy --prebuilt --prod --token ${{ secrets.VERCEL_TOKEN }}
You can’t perform that action at this time.
0 commit comments