richardmfan commited on
Commit
3b51cc9
2 Parent(s): f893655 4c00c0b

Merge pull request #18 from AutoLLM/move-huggingface-branch

Browse files

modify github action to push hf-active instead of main to huggingface

Files changed (1) hide show
  1. .github/workflows/sync-to-hf.yaml +2 -1
.github/workflows/sync-to-hf.yaml CHANGED
@@ -14,7 +14,8 @@ jobs:
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://omkarenator:$HF_TOKEN@huggingface.co/spaces/AutoLLM/AutoAgents main
 
14
  with:
15
  fetch-depth: 0
16
  lfs: true
17
+ ref: hf-active
18
  - name: Push to hub
19
  env:
20
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
+ run: git push -u https://omkarenator:$HF_TOKEN@huggingface.co/spaces/AutoLLM/AutoAgents hf-active:test