Klasta commited on
Commit
585b04a
·
1 Parent(s): 9e2f27b

new commit

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +4 -2
.github/workflows/deploy.yml CHANGED
@@ -15,6 +15,8 @@ jobs:
15
  env:
16
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
17
  run: |
18
- git remote remove hf || true
19
- git remote add hf https://klasta:${HF_TOKEN}@huggingface.co/spaces/Klasta/testing_spaces
 
 
20
  git push hf main --force
 
15
  env:
16
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
17
  run: |
18
+ git config --global user.email "action@github.com"
19
+ git config --global user.name "GitHub Action"
20
+ git remote remove hf || true # Good practice to ensure a clean state
21
+ git remote add hf https://user:${HF_TOKEN}@huggingface.co/spaces/Klasta/testing_spaces
22
  git push hf main --force