Spaces:
Runtime error
Runtime error
Mohammed Thameem commited on
Commit ·
4aecd7f
1
Parent(s): 34a0e47
Add workflow to sync with Hugging Face
Browse files
.github/workflows/hf-sync.yml
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
on:
|
| 2 |
push:
|
| 3 |
# to run this workflow manually from the Actions tab
|
|
@@ -16,6 +18,7 @@ jobs:
|
|
| 16 |
env:
|
| 17 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 18 |
run: |
|
| 19 |
-
git config --global user.email
|
| 20 |
-
git config --global user.name
|
| 21 |
git push --force https://mlops-group8:$HF_TOKEN@huggingface.co/spaces/mlops-group8/case-study-1 HEAD:main
|
|
|
|
|
|
| 1 |
+
name: Sync to Hugging Face hub
|
| 2 |
+
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
# to run this workflow manually from the Actions tab
|
|
|
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 20 |
run: |
|
| 21 |
+
git config --global user.email "thameem022@gmail.com"
|
| 22 |
+
git config --global user.name "Thameem022"
|
| 23 |
git push --force https://mlops-group8:$HF_TOKEN@huggingface.co/spaces/mlops-group8/case-study-1 HEAD:main
|
| 24 |
+
|