Spaces:
Running
Running
Commit ·
714fbcc
1
Parent(s): 11e6e78
Optimize Hugging Face sync workflow with checkout v4 and bypass lfs verify
Browse files
.github/workflows/sync_to_hub.yml
CHANGED
|
@@ -10,13 +10,13 @@ jobs:
|
|
| 10 |
runs-on: ubuntu-latest
|
| 11 |
steps:
|
| 12 |
- name: Checkout repository
|
| 13 |
-
uses: actions/checkout@
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
-
lfs:
|
| 17 |
|
| 18 |
- name: Push to Hugging Face Space
|
| 19 |
env:
|
| 20 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 21 |
run: |
|
| 22 |
-
git push https://anikethans06:$HF_TOKEN@huggingface.co/spaces/anikethans06/capstone main
|
|
|
|
| 10 |
runs-on: ubuntu-latest
|
| 11 |
steps:
|
| 12 |
- name: Checkout repository
|
| 13 |
+
uses: actions/checkout@v4
|
| 14 |
with:
|
| 15 |
fetch-depth: 0
|
| 16 |
+
lfs: false
|
| 17 |
|
| 18 |
- name: Push to Hugging Face Space
|
| 19 |
env:
|
| 20 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 21 |
run: |
|
| 22 |
+
git push --force --no-verify https://anikethans06:$HF_TOKEN@huggingface.co/spaces/anikethans06/capstone main
|