Dacho688 commited on
Commit
70ba4a0
·
unverified ·
1 Parent(s): c676a53

Update sync_to_hf.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/sync_to_hf.yml +3 -1
.github/workflows/sync_to_hf.yml CHANGED
@@ -17,5 +17,7 @@ jobs:
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
- run: git push https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME main
 
 
21
 
 
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
+ HF_USERNAME: ${{ variables.HF_TOKEN }}
21
+ HF_SPACE_NAME: ${{ variables.HF_SPACE_NAME}}
22
+ run: git push https://$HF_USERNAME:${HF_TOKEN}@huggingface.co/spaces/${HF_USERNAME}/${HF_SPACE_NAME} main
23