ash001 commited on
Commit
97e7bc4
·
1 Parent(s): 6de89b7

fix workflows

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +9 -4
.github/workflows/main.yml CHANGED
@@ -2,19 +2,24 @@ name: Sync to Hugging Face hub
2
  on:
3
  push:
4
  branches: [main]
5
-
6
- # to run this workflow manually from the Actions tab
7
  workflow_dispatch:
8
 
9
  jobs:
10
  sync-to-hub:
11
  runs-on: ubuntu-latest
12
  steps:
13
- - uses: actions/checkout@v3
14
  with:
15
  fetch-depth: 0
16
  lfs: true
 
 
 
 
 
 
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
- run: git push https://ash001:$HF_TOKEN@huggingface.co/spaces/ash001/LangGraph_Multi-Agent_Orchestrator main
 
 
2
  on:
3
  push:
4
  branches: [main]
 
 
5
  workflow_dispatch:
6
 
7
  jobs:
8
  sync-to-hub:
9
  runs-on: ubuntu-latest
10
  steps:
11
+ - uses: actions/checkout@v4
12
  with:
13
  fetch-depth: 0
14
  lfs: true
15
+
16
+ - name: Ensure Git LFS is active
17
+ run: |
18
+ git lfs install
19
+ git lfs pull
20
+
21
  - name: Push to hub
22
  env:
23
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
24
+ run: |
25
+ git push https://ash001:${HF_TOKEN}@huggingface.co/spaces/ash001/LangGraph_Multi-Agent_Orchestrator HEAD:main