Spaces:
Sleeping
Sleeping
Commit
·
9c22fb6
1
Parent(s):
9ff4846
chore
Browse files
.github/workflows/sync_hf_space.yml
CHANGED
|
@@ -37,6 +37,7 @@ jobs:
|
|
| 37 |
run: |
|
| 38 |
git config --global user.name "${{ github.actor }}"
|
| 39 |
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
|
|
|
|
| 40 |
git add README.md
|
| 41 |
git commit -m "Update HF README adding model card"
|
| 42 |
git push https://$HF_USERNAME:[email protected]/spaces/$HF_USERNAME/$SPACE_NAME
|
|
|
|
| 37 |
run: |
|
| 38 |
git config --global user.name "${{ github.actor }}"
|
| 39 |
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
|
| 40 |
+
git pull https://$HF_USERNAME:[email protected]/spaces/$HF_USERNAME/$SPACE_NAME
|
| 41 |
git add README.md
|
| 42 |
git commit -m "Update HF README adding model card"
|
| 43 |
git push https://$HF_USERNAME:[email protected]/spaces/$HF_USERNAME/$SPACE_NAME
|