Spaces:
Sleeping
Sleeping
Update push command to sync master branch to main
Browse files
.github/workflows/sync_to_hub.yml
CHANGED
|
@@ -21,4 +21,5 @@ jobs:
|
|
| 21 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 22 |
run: |
|
| 23 |
# Make sure to replace your_username/diagnostic-copilot-api with your actual Hugging Face Space ID
|
| 24 |
-
git
|
|
|
|
|
|
| 21 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 22 |
run: |
|
| 23 |
# Make sure to replace your_username/diagnostic-copilot-api with your actual Hugging Face Space ID
|
| 24 |
+
git remote add space https://hssling:$HF_TOKEN@huggingface.co/spaces/hssling/diagnostic-copilot-api
|
| 25 |
+
git push --force space master:main
|