Skip to content

Commit 079e440

Browse files
committed
Fix CI/CD pipeline
1 parent 3f80fb9 commit 079e440

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ jobs:
5252

5353
- name: Upload build artifacts
5454
uses: actions/upload-artifact@v4
55-
if: matrix.node-version == '20.x'
5655
with:
57-
name: frontend-build
56+
name: frontend-build-${{ matrix.node-version }}
5857
path: frontend/.next/
5958
retention-days: 1
6059

@@ -256,7 +255,7 @@ jobs:
256255
- name: Download frontend build
257256
uses: actions/download-artifact@v4
258257
with:
259-
name: frontend-build
258+
name: frontend-build-20.x
260259
path: frontend/.next/
261260

262261
- name: Deploy to staging
@@ -267,7 +266,7 @@ jobs:
267266
268267
- name: Notify deployment
269268
uses: 8398a7/action-slack@v3
270-
if: always()
269+
if: always() && secrets.SLACK_WEBHOOK_URL
271270
with:
272271
status: ${{ job.status }}
273272
text: 'Deployment completed'

0 commit comments

Comments
 (0)