cyrusyc commited on
Commit
94c3c81
·
1 Parent(s): 1a2d805

force hf push on passing test

Browse files
Files changed (1) hide show
  1. .github/workflows/sync-hf.yaml +4 -3
.github/workflows/sync-hf.yaml CHANGED
@@ -1,8 +1,9 @@
1
  name: Sync to Hugging Face hub
2
 
3
  on:
4
- push:
5
- branches: [main]
 
6
 
7
  # to run this workflow manually from the Actions tab
8
  workflow_dispatch:
@@ -19,4 +20,4 @@ jobs:
19
  - name: Push to hub
20
  env:
21
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
22
- run: git push https://HF_USERNAME:[email protected]/spaces/atomind/mlip-arena main
 
1
  name: Sync to Hugging Face hub
2
 
3
  on:
4
+ workflows: ["Python Test"]
5
+ types:
6
+ - completed
7
 
8
  # to run this workflow manually from the Actions tab
9
  workflow_dispatch:
 
20
  - name: Push to hub
21
  env:
22
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
23
+ run: git push -f https://HF_USERNAME:[email protected]/spaces/atomind/mlip-arena main