File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed
Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change 5757 VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
5858 VERCEL_PROJECT_ID : ${{ secrets.VERCEL_HOST_PREVIEW_HOST_PROJECT_ID }}
5959
60- - name : Deploy entrypoint to Vercel - STAGING
61- uses : nick-fields/retry@v2
62- with :
63- command : |
64- cd packages/entrypoint/dist
65- vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
66- vercel build --token=${{ secrets.VERCEL_TOKEN }} # creates vercel output directory
67-
68- cp -R ./node_modules ./.vercel/output/static/ # force add node_modules to output directory
69-
70- vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
71- max_attempts : 3
72- timeout_minutes : 10
73- env :
74- VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
75- VERCEL_PROJECT_ID :
76- ${{ secrets.VERCEL_ENTRYPOINT_PREVIEW_HOST_PROJECT_ID }}
77-
7860 # --- production deployments (only on main)
7961 - name : Deploy host to Vercel - PRODUCTION
8062 if : ${{ github.ref == 'refs/heads/main' }}
8769
8870 cp -R ./node_modules ./.vercel/output/static/ # force add node_modules to output directory
8971
90- vercel deploy --prebuilt --production --token=${{ secrets.VERCEL_TOKEN }}
72+ vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
9173 max_attempts : 3
9274 timeout_minutes : 10
9375 env :
10587
10688 cp -R ./node_modules ./.vercel/output/static/ # force add node_modules to output directory
10789
108- vercel deploy --prebuilt --production --token=${{ secrets.VERCEL_TOKEN }}
90+ vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
10991 max_attempts : 3
11092 timeout_minutes : 10
11193 env :
You can’t perform that action at this time.
0 commit comments