Spaces:
Sleeping
Sleeping
Commit History
-
ci: add dev branch trigger and separate prod/dev deploy jobs
- Trigger CI/CD on push to `dev` branch in addition to `main` - Rename `deploy` job to `deploy-prod`, conditioned on `refs/heads/main` - Add `deploy-dev` job targeting `HF_SPACE_DEV` variable, conditioned on `refs/heads/dev` - Use `vars.HF_SPACE_PROD` variable instead of hardcoded HF space namedc0b0c3 -
ci: fetch full git history for Hugging Face deployment
Add fetch-depth: 0 to the checkout step to retrieve the complete git history, which required for proper deployment to Hugging Face.cf65e65 -
ci: add GitHub Actions workflow for CI/CD pipeline
Adds a CI/CD workflow triggered on push to main: - test job: installs dependencies and runs pytest - deploy job: pushes to Hugging Face Spaces after tests pass4fc7c95