From 079e4406ea1c8b56f2bdec178e86dfba83d6b814 Mon Sep 17 00:00:00 2001 From: tanzilahmed0 Date: Thu, 24 Jul 2025 16:49:52 -0700 Subject: [PATCH] Fix CI/CD pipeline --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3211159..d032840 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,9 +52,8 @@ jobs: - name: Upload build artifacts uses: actions/upload-artifact@v4 - if: matrix.node-version == '20.x' with: - name: frontend-build + name: frontend-build-${{ matrix.node-version }} path: frontend/.next/ retention-days: 1 @@ -256,7 +255,7 @@ jobs: - name: Download frontend build uses: actions/download-artifact@v4 with: - name: frontend-build + name: frontend-build-20.x path: frontend/.next/ - name: Deploy to staging @@ -267,7 +266,7 @@ jobs: - name: Notify deployment uses: 8398a7/action-slack@v3 - if: always() + if: always() && secrets.SLACK_WEBHOOK_URL with: status: ${{ job.status }} text: 'Deployment completed'