Bashir Gulistani
commited on
Update deploy.yml
Browse files
.github/workflows/deploy.yml
CHANGED
@@ -12,11 +12,13 @@ jobs:
|
|
12 |
steps:
|
13 |
- name: Checkout repository
|
14 |
uses: actions/checkout@v3
|
|
|
|
|
15 |
|
16 |
- name: Set up Git user
|
17 |
run: |
|
18 |
-
git config --global user.email "
|
19 |
-
git config --global user.name "
|
20 |
|
21 |
- name: Add Hugging Face remote and push to Spaces
|
22 |
env:
|
@@ -24,3 +26,5 @@ jobs:
|
|
24 |
run: |
|
25 |
git remote add space https://huggingface.co/spaces/BashirG/dis-background-removal-duplicated
|
26 |
git push --force "https://huggingface.co:${HF_TOKEN}@huggingface.co/spaces/BashirG/dis-background-removal-duplicated" main
|
|
|
|
|
|
12 |
steps:
|
13 |
- name: Checkout repository
|
14 |
uses: actions/checkout@v3
|
15 |
+
with:
|
16 |
+
fetch-depth: 0 # This will fetch the entire history to make it unshallow
|
17 |
|
18 |
- name: Set up Git user
|
19 |
run: |
|
20 |
+
git config --global user.email "gulistani1999@gmail.com"
|
21 |
+
git config --global user.name "Bashir1999"
|
22 |
|
23 |
- name: Add Hugging Face remote and push to Spaces
|
24 |
env:
|
|
|
26 |
run: |
|
27 |
git remote add space https://huggingface.co/spaces/BashirG/dis-background-removal-duplicated
|
28 |
git push --force "https://huggingface.co:${HF_TOKEN}@huggingface.co/spaces/BashirG/dis-background-removal-duplicated" main
|
29 |
+
|
30 |
+
|