We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ff89d1 commit 0709eefCopy full SHA for 0709eef
1 file changed
.github/workflows/deploy-to-hf.yml
@@ -48,17 +48,7 @@ jobs:
48
git add -A
49
git commit -m "Deploy to Hugging Face Space"
50
51
- - name: Push to HF Space DEV from branch
52
- if: github.ref != 'refs/heads/main'
53
- env:
54
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
55
- run: |
56
- git push --force \
57
- https://SDSC:${HF_TOKEN}@huggingface.co/spaces/SDSC/ai-agent-dev \
58
- hf-deploy:main
59
-
60
- - name: Push to HF Space PROD from main
61
- if: github.ref == 'refs/heads/main'
+ - name: Push to HF Space from branch
62
env:
63
HF_TOKEN: ${{ secrets.HF_TOKEN }}
64
run: |
0 commit comments