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 10
10
jobs :
11
11
Deploy-Preview :
12
12
runs-on :
13
- labels : ubuntu-22.04-2cpu-8ram-75ssd
13
+ labels : ubuntu-latest
14
14
environment : preview
15
15
outputs :
16
16
deploymentUrl : ${{ steps.deploy.outputs.deploymentUrl }}
36
36
37
37
Add-Comment :
38
38
runs-on :
39
- labels : ubuntu-22.04-2cpu-8ram-75ssd
39
+ labels : ubuntu-latest
40
40
needs : Deploy-Preview
41
41
permissions :
42
42
issues : write
Original file line number Diff line number Diff line change 10
10
jobs :
11
11
Deploy-Production :
12
12
runs-on :
13
- labels : ubuntu-22.04-2cpu-8ram-75ssd
13
+ labels : ubuntu-latest
14
14
steps :
15
15
- name : Checkout the Codebase
16
16
uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments