Skip to content

Commit 9ef1dde

Browse files
ci: Improve Vercel's preview and production deployment (#112)
1 parent ae305e9 commit 9ef1dde

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/vercel-preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
jobs:
1010
Deploy-Preview:
1111
runs-on: ubuntu-20.04
12+
environment:
13+
name: preview
1214
steps:
1315
- uses: actions/checkout@v4
1416
- name: Install Vercel CLI

.github/workflows/vercel-prod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
jobs:
1010
Deploy-Production:
1111
runs-on: ubuntu-20.04
12+
environment:
13+
name: production
1214
steps:
1315
- uses: actions/checkout@v4
1416
- name: Install Vercel CLI

0 commit comments

Comments
 (0)