Spaces:
Sleeping
Sleeping
Gruhit Patel
commited on
Commit
·
ad22d31
1
Parent(s):
dcb2299
Modified HF Depv2
Browse files
.github/workflows/hf_deploy.yml
CHANGED
|
@@ -10,13 +10,15 @@ jobs:
|
|
| 10 |
steps:
|
| 11 |
- name: Perform Checkout
|
| 12 |
uses: actions/checkout@v2
|
|
|
|
|
|
|
| 13 |
|
| 14 |
- name: Add Remote
|
| 15 |
env:
|
| 16 |
HF: ${{ secrets.HF }}
|
| 17 |
-
run: git remote add space https://huggingface.co/spaces/gruhit-patel/deployment_app
|
| 18 |
|
| 19 |
- name: Push to Space
|
| 20 |
env:
|
| 21 |
HF: ${{ secrets.HF }}
|
| 22 |
-
run: git push https://gruhit-patel:$HF@huggingface.co/spaces/gruhit-patel/deployment_app main
|
|
|
|
| 10 |
steps:
|
| 11 |
- name: Perform Checkout
|
| 12 |
uses: actions/checkout@v2
|
| 13 |
+
with:
|
| 14 |
+
fetch-depth: 0
|
| 15 |
|
| 16 |
- name: Add Remote
|
| 17 |
env:
|
| 18 |
HF: ${{ secrets.HF }}
|
| 19 |
+
run: git remote add space https://gruhit-patel:$HF@huggingface.co/spaces/gruhit-patel/deployment_app
|
| 20 |
|
| 21 |
- name: Push to Space
|
| 22 |
env:
|
| 23 |
HF: ${{ secrets.HF }}
|
| 24 |
+
run: git push --force https://gruhit-patel:$HF@huggingface.co/spaces/gruhit-patel/deployment_app main
|