File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments