Spaces:
Configuration error
Configuration error
SIVANESHAKUMAR K S commited on
Fix Git push command in deployment workflow
Browse filesUpdated Git push command to use branch name directly.
.github/workflows/deploy-huggingface.yml
CHANGED
|
@@ -21,6 +21,7 @@ jobs:
|
|
| 21 |
- name: Checkout repository
|
| 22 |
uses: actions/checkout@v4
|
| 23 |
with:
|
|
|
|
| 24 |
lfs: true
|
| 25 |
|
| 26 |
- name: Configure Git
|
|
@@ -32,4 +33,4 @@ jobs:
|
|
| 32 |
env:
|
| 33 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 34 |
run: |
|
| 35 |
-
git push https://Sivaneshakumar:${HF_TOKEN}@huggingface.co/spaces/Sivaneshakumar/sanjeevani-api
|
|
|
|
| 21 |
- name: Checkout repository
|
| 22 |
uses: actions/checkout@v4
|
| 23 |
with:
|
| 24 |
+
fetch-depth: 0
|
| 25 |
lfs: true
|
| 26 |
|
| 27 |
- name: Configure Git
|
|
|
|
| 33 |
env:
|
| 34 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 35 |
run: |
|
| 36 |
+
git push https://Sivaneshakumar:${HF_TOKEN}@huggingface.co/spaces/Sivaneshakumar/sanjeevani-api main --force
|