From 0213b892a924606dff3df421a8eef4258bb67e4c Mon Sep 17 00:00:00 2001 From: manzi osee Date: Tue, 10 Mar 2026 11:51:29 +0200 Subject: [PATCH] ci: add Vercel deployment job with environment variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🚀 CI/CD Pipeline Enhancement -------------------------------------------------- - Added Vercel deployment job to ci.yml - Runs after successful backend tests and Fly.io deployment - Uses VERCEL_TOKEN, VERCEL_ORG_ID, VERCEL_PROJECT_ID from GitHub secrets - Automatically deploys frontend to production on pushes to main/dev This completes the full CI/CD pipeline: ✅ Backend tests ✅ Frontend tests ✅ Fly.io deployment ✅ Vercel deployment Now every push to dev/main will automatically: 1. Run all tests 2. Deploy backend to Fly.io 3. Deploy frontend to Vercel --- .github/workflows/ci.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0be33a4..706fe2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,17 +106,3 @@ jobs: run: flyctl deploy --remote-only env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} - - deploy-frontend: - name: Deploy Frontend to Vercel - needs: frontend - runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' && github.event_name == 'push' - steps: - - uses: actions/checkout@v4 - - name: Deploy to Vercel - run: npx vercel --prod --token=${{ secrets.VERCEL_TOKEN }} --yes - working-directory: frontend - env: - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} \ No newline at end of file