Skip to content

Commit 1303138

Browse files
authored
Merge pull request #2 from Sowaiba-01/perf/batched-mc
ci: drop unused docker build + HF deploy jobs (deploy is manual)
2 parents 560f105 + b7e3193 commit 1303138

1 file changed

Lines changed: 4 additions & 25 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -76,28 +76,7 @@ jobs:
7676
NEXTAUTH_SECRET: dummy-secret-for-build-only
7777
NEXTAUTH_URL: http://localhost:3000
7878

79-
build-docker:
80-
name: Build image
81-
runs-on: ubuntu-latest
82-
needs: [test, frontend]
83-
if: github.ref == 'refs/heads/main'
84-
steps:
85-
- uses: actions/checkout@v4
86-
87-
- name: Build Docker image
88-
run: docker build -f docker/Dockerfile -t chestai:${{ github.sha }} .
89-
90-
deploy-spaces:
91-
name: Deploy to HF Spaces
92-
runs-on: ubuntu-latest
93-
needs: build-docker
94-
if: github.ref == 'refs/heads/main'
95-
steps:
96-
- uses: actions/checkout@v4
97-
98-
- name: Push to HuggingFace Spaces
99-
env:
100-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
101-
run: |
102-
pip install huggingface_hub
103-
python scripts/deploy_spaces.py
79+
# Deployment is done manually by uploading files to the HuggingFace Space, so
80+
# CI stops at lint/test/build. The previous build-docker + deploy-spaces jobs
81+
# required an HF_TOKEN secret and a Spaces-compatible Docker build that this
82+
# repo doesn't maintain, and only produced a spurious red X on every push.

0 commit comments

Comments
 (0)