KUNAL SHAW commited on
Add step to pull latest changes from hub
Browse files
.github/workflows/sync_to_hub.yml
CHANGED
|
@@ -14,6 +14,10 @@ jobs:
|
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
lfs: true
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
- name: Push to hub
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
lfs: true
|
| 17 |
+
- name: Pull latest changes from hub
|
| 18 |
+
env:
|
| 19 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 20 |
+
run: git pull --rebase https://KunalShaw:$HF_TOKEN@huggingface.co/spaces/KunalShaw/IMSKOS main
|
| 21 |
- name: Push to hub
|
| 22 |
env:
|
| 23 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|