File tree Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Vercel Preview Community Deployment
2+ env :
3+ VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
4+ VERCEL_PROJECT_ID : ${{ secrets.PREVIEW_VERCEL_PROJECT_ID }}
5+ on :
6+ push :
7+ branches :
8+ - production
9+ jobs :
10+ Deploy-Production :
11+ runs-on :
12+ labels : ubuntu-latest
13+ steps :
14+ - name : Checkout the Codebase
15+ uses : actions/checkout@v4
16+ - name : Install Vercel CLI
17+ run : npm install --global vercel@latest
18+ - name : Deploy on Vercel
19+ id : deploy
20+ run : |
21+ vercel deploy --prod --token=${{ secrets.VERCEL_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change 1010jobs :
1111 Deploy-Preview :
1212 runs-on :
13- labels : ubuntu-22.04-2cpu-8ram-75ssd
13+ labels : ubuntu-latest
1414 environment : preview
1515 outputs :
1616 deploymentUrl : ${{ steps.deploy.outputs.deploymentUrl }}
3636
3737 Add-Comment :
3838 runs-on :
39- labels : ubuntu-22.04-2cpu-8ram-75ssd
39+ labels : ubuntu-latest
4040 needs : Deploy-Preview
4141 permissions :
4242 issues : write
Original file line number Diff line number Diff line change 1010jobs :
1111 Deploy-Production :
1212 runs-on :
13- labels : ubuntu-22.04-2cpu-8ram-75ssd
13+ labels : ubuntu-latest
1414 steps :
1515 - name : Checkout the Codebase
1616 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments