Spaces:
Sleeping
Sleeping
MUHAMMAD YOUSAF RANA
commited on
Update main.yml
Browse files
.github/workflows/main.yml
CHANGED
@@ -27,5 +27,10 @@ jobs:
|
|
27 |
- name: Add remote
|
28 |
run: git remote add huggingface https://huggingface.co/spaces/MYousafRana/Demo
|
29 |
|
|
|
|
|
|
|
|
|
|
|
30 |
- name: Push to Hugging Face Space
|
31 |
run: git push --force huggingface main
|
|
|
27 |
- name: Add remote
|
28 |
run: git remote add huggingface https://huggingface.co/spaces/MYousafRana/Demo
|
29 |
|
30 |
+
- name: Set up Hugging Face credentials
|
31 |
+
run: |
|
32 |
+
git config --global credential.helper store
|
33 |
+
echo "https://huggingface.co:${{ secrets.HG }}@huggingface.co" > ~/.git-credentials
|
34 |
+
|
35 |
- name: Push to Hugging Face Space
|
36 |
run: git push --force huggingface main
|