anikethans06 commited on
Commit
714fbcc
·
1 Parent(s): 11e6e78

Optimize Hugging Face sync workflow with checkout v4 and bypass lfs verify

Browse files
Files changed (1) hide show
  1. .github/workflows/sync_to_hub.yml +3 -3
.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@v3
14
  with:
15
  fetch-depth: 0
16
- lfs: true
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 --force
 
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