yashrajsinha/postSURE
0
1name: Deploy Backend to HuggingFace2 3on:4 push:5 branches: [main]6 paths:7 - 'api/**'8 - 'src/**'9 - 'models/**'10 - 'requirements.txt'11 - 'Dockerfile'12 workflow_dispatch:13 14jobs:15 deploy-backend:16 runs-on: ubuntu-latest17 steps:18 - uses: actions/checkout@v419 with:20 fetch-depth: 021 lfs: true22 23 - name: Push to HuggingFace Spaces24 env:25 HF_TOKEN: ${{ secrets.HF_TOKEN }}26 run: |27 git push --force https://yashrajsinha:$HF_TOKEN@huggingface.co/spaces/yashrajsinha/postSURE main