Skip to content

Commit 5889fc0

Browse files
committed
fix ubuntu label
1 parent 808d2a6 commit 5889fc0

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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 }}

.github/workflows/preview.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
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 }}
@@ -36,7 +36,7 @@ jobs:
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

.github/workflows/production.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
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

0 commit comments

Comments
 (0)