drbh commited on
Commit
97febf9
·
1 Parent(s): a85d24f

fix: adjust action

Browse files
.github/workflows/hugging-face-hub-sync.yaml CHANGED
@@ -19,11 +19,8 @@ jobs:
19
  git config --global user.email "actions@github.com"
20
  git config --global user.name "github-actions"
21
 
22
- # Configure Hugging Face repository using HTTPS
23
- git remote add hub https://huggingface.co/kernels-community/mrope_get_position_ids
24
 
25
- # Fetch from Hugging Face
26
- git fetch hub || true
27
-
28
- # Push to Hugging Face using HTTPS with token
29
- git push https://$HF_TOKEN@huggingface.co/kernels-community/mrope_get_position_ids +main:main
 
19
  git config --global user.email "actions@github.com"
20
  git config --global user.name "github-actions"
21
 
22
+ # Configure Hugging Face repository using HTTPS with token
23
+ git remote add hub https://$HF_TOKEN@huggingface.co/kernels-community/mrope_get_position_ids.git
24
 
25
+ # Push to Hugging Face
26
+ git push hub main:main