From b7e31936af201e101c2c24a2a17d64728028568c Mon Sep 17 00:00:00 2001 From: Sowaiba-01 Date: Wed, 22 Jul 2026 17:02:39 +0500 Subject: [PATCH] ci: drop unused docker build + HF deploy jobs (deploy is manual) --- .github/workflows/ci.yml | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99218d9..74e8f31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,28 +76,7 @@ jobs: NEXTAUTH_SECRET: dummy-secret-for-build-only NEXTAUTH_URL: http://localhost:3000 - build-docker: - name: Build image - runs-on: ubuntu-latest - needs: [test, frontend] - if: github.ref == 'refs/heads/main' - steps: - - uses: actions/checkout@v4 - - - name: Build Docker image - run: docker build -f docker/Dockerfile -t chestai:${{ github.sha }} . - - deploy-spaces: - name: Deploy to HF Spaces - runs-on: ubuntu-latest - needs: build-docker - if: github.ref == 'refs/heads/main' - steps: - - uses: actions/checkout@v4 - - - name: Push to HuggingFace Spaces - env: - HF_TOKEN: ${{ secrets.HF_TOKEN }} - run: | - pip install huggingface_hub - python scripts/deploy_spaces.py \ No newline at end of file +# Deployment is done manually by uploading files to the HuggingFace Space, so +# CI stops at lint/test/build. The previous build-docker + deploy-spaces jobs +# required an HF_TOKEN secret and a Spaces-compatible Docker build that this +# repo doesn't maintain, and only produced a spurious red X on every push. \ No newline at end of file