Spaces:
Sleeping
Sleeping
Harsh Yadav
feat: migrate to HF Spaces — ResNet-18 CNN + BERT + DistilBERT + tabular ensemble
8e68c3a Download .github/workflows/deploy.yml from iharshyadav/SmartCertify-ML: direct link, hf CLI and curl.
- Browser
- Download file 670 Bytes
-
https://huggingface.co/spaces/iharshyadav/SmartCertify-ML/resolve/main/.github/workflows/deploy.yml
- Command line
-
hf download hf://spaces/iharshyadav/SmartCertify-ML/.github/workflows/deploy.yml
-
curl -L -o deploy.yml https://huggingface.co/spaces/iharshyadav/SmartCertify-ML/resolve/main/.github/workflows/deploy.yml
670 Bytes
| name: Deploy to Hugging Face Spaces | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy-hf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to Hugging Face Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| HF_USERNAME: ${{ secrets.HF_USERNAME }} | |
| run: | | |
| git config --global user.email "ci@smartcertify.dev" | |
| git config --global user.name "SmartCertify CI" | |
| git remote add hf https://user:${HF_TOKEN}@huggingface.co/spaces/${HF_USERNAME}/SmartCertify-ML | |
| git push hf main --force | |