Vatsal Gupta Copilot commited on
Commit
9c166da
·
unverified ·
1 Parent(s): 77407bd

Update .github/workflows/huggingface-test.yaml

Browse files

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

.github/workflows/huggingface-test.yaml CHANGED
@@ -27,4 +27,4 @@ jobs:
27
  HF_BRANCH: main
28
  run: |
29
  git remote set-url origin https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_SPACE
30
- git push origin master:$HF_BRANCH --force
 
27
  HF_BRANCH: main
28
  run: |
29
  git remote set-url origin https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_SPACE
30
+ git push origin ${{ github.ref_name }}:$HF_BRANCH --force