quantumbit Copilot commited on
Commit
5c6382d
·
1 Parent(s): 92880fd

Co-authored-by: Copilot <copilot@github.com>

.github/workflows/deploy-hf-space.yml CHANGED
@@ -31,5 +31,4 @@ jobs:
31
  git config user.email "github-actions[bot]@users.noreply.github.com"
32
 
33
  git remote add hf "https://user:${HF_TOKEN}@huggingface.co/spaces/${HF_SPACE}.git"
34
- git fetch hf main
35
- git push --force-with-lease=refs/heads/main:refs/heads/main hf HEAD:main
 
31
  git config user.email "github-actions[bot]@users.noreply.github.com"
32
 
33
  git remote add hf "https://user:${HF_TOKEN}@huggingface.co/spaces/${HF_SPACE}.git"
34
+ git push --force hf HEAD:main