drbh
commited on
Commit
·
ca7418a
1
Parent(s):
68c86be
fix: add url as specific remote
Browse files
.github/workflows/hugging-face-hub-sync.yaml
CHANGED
@@ -19,7 +19,13 @@ jobs:
|
|
19 |
env:
|
20 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
21 |
run: |
|
22 |
-
|
|
|
|
|
|
|
23 |
git config --global user.email "[email protected]"
|
24 |
git config --global user.name "github-actions"
|
25 |
-
|
|
|
|
|
|
|
|
19 |
env:
|
20 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
21 |
run: |
|
22 |
+
# Login to Hugging Face and add git credentials
|
23 |
+
huggingface-cli login --token $HF_TOKEN --add-to-git-credential
|
24 |
+
|
25 |
+
# Configure git
|
26 |
git config --global user.email "[email protected]"
|
27 |
git config --global user.name "github-actions"
|
28 |
+
|
29 |
+
# Add remote and push
|
30 |
+
git remote add hub "https://huggingface.co/kernels-community/mrope_get_position_ids.git"
|
31 |
+
git push hub main
|