Husnain commited on
Commit
ce622db
1 Parent(s): 75c0d73

💥 [Fix] Push to remote main branch if tagged release

Browse files
.github/workflows/sync_to_hf_space.yml CHANGED
@@ -2,8 +2,9 @@ name: Sync to Hugging Face hub
2
  on:
3
  push:
4
  paths:
5
- - "configs/info.json"
6
  - "./Dockerfile"
 
7
  workflow_dispatch:
8
 
9
  jobs:
@@ -17,4 +18,4 @@ jobs:
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
- run: git push -f https://Niansuh:$HF_TOKEN@huggingface.co/spaces/Niansuh/HFLLMAPI main
 
2
  on:
3
  push:
4
  paths:
5
+ - "configs/config.json"
6
  - "./Dockerfile"
7
+ - ".github/workflows/sync_to_hf_space.yml"
8
  workflow_dispatch:
9
 
10
  jobs:
 
18
  - name: Push to hub
19
  env:
20
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
+ run: git push -f https://Niansuh:$HF_TOKEN@huggingface.co/spaces/Niansuh/HFLLMAPI main:main