File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 8686 - name : 🛠️ Pull Vercel Config
8787 run : |
8888 environment=$([[ "${{ github.ref }}" == 'refs/heads/main' ]] && echo "production" || echo "preview")
89- pnpm dlx vercel pull apps/web --yes --environment=$environment \
90- --token=${{ secrets.VERCEL_TOKEN }} \
91- ${{ github.ref_name == 'main' && '--prod' || '' }}
89+ pnpm dlx vercel pull apps/web --yes --environment=$environment --token=${{ secrets.VERCEL_TOKEN }}
9290 rm -rf .vercel && mv apps/web/.vercel .
9391
9492 - name : 🚀 Deploy to Vercel
Original file line number Diff line number Diff line change 3434 - name : 🚀 Deploy to Vercel
3535 run : |
3636 environment=$([[ "${{ github.ref }}" == 'refs/heads/main' ]] && echo "production" || echo "preview")
37- pnpm dlx vercel pull _site --yes --environment=$environment \
38- --token=${{ secrets.VERCEL_TOKEN }} \
39- ${{ github.ref_name == 'main' && '--prod' || '' }}
37+ pnpm dlx vercel pull _site --yes --environment=$environment --token=${{ secrets.VERCEL_TOKEN }}
4038 rm -rf .vercel && mv _site/.vercel .
4139
4240 pnpm dlx vercel build --token=${{ secrets.VERCEL_TOKEN }}
You can’t perform that action at this time.
0 commit comments