Andrea Maldonado commited on
Commit
ddaf251
·
1 Parent(s): 0e8e149

Updates huggingface CI for both

Browse files
Files changed (1) hide show
  1. .github/workflows/huggingface.yml +4 -2
.github/workflows/huggingface.yml CHANGED
@@ -1,7 +1,9 @@
1
  name: Sync to Hugging Face hub
2
  on:
3
  push:
4
- branches: [main]
 
 
5
  # to run this workflow manually from the Actions tab
6
  workflow_dispatch:
7
 
@@ -23,4 +25,4 @@ jobs:
23
  - name: Push to hub
24
  env:
25
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
26
- run: git push --force https://andreamalhera:[email protected]/spaces/andreamalhera/igedi_beta $CURRENT_BRANCH:main
 
1
  name: Sync to Hugging Face hub
2
  on:
3
  push:
4
+ branches:
5
+ - main
6
+ - demo-icpm24
7
  # to run this workflow manually from the Actions tab
8
  workflow_dispatch:
9
 
 
25
  - name: Push to hub
26
  env:
27
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
28
+ run: git push --force https://andreamalhera:[email protected]/spaces/${{ secrets.HF_SPACE }} $CURRENT_BRANCH:main