Skip to content

Commit 00137a2

Browse files
committed
Workflows updated
1 parent aafab15 commit 00137a2

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/cd.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,26 @@ jobs:
88
# Step 1: Checkout Pull Request Code
99
- name: Checkout Pull Request Code
1010
uses: actions/checkout@v3
11+
with:
12+
ref: main
13+
14+
# Step 2: Install Node.js
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 20.x
19+
20+
# Step 3: Install Dependencies
21+
- name: Install Dependencies
22+
run: |
23+
npm install
24+
25+
# Step 4: Build App
26+
- name: Build App
27+
run: |
28+
npm run build
1129
12-
# Step 2: Deploy to Production
30+
# Step 5: Deploy to Production
1331
- name: Deploy to Vercel
1432
uses: amondnet/vercel-action@v25
1533
with:

0 commit comments

Comments
 (0)