J.P. Pérez Tejada commited on
Commit
852db22
·
1 Parent(s): 5081325

Change deployment from "push to main" to "published release"

Browse files
.github/workflows/hugging-face-deployment.yml CHANGED
@@ -1,7 +1,7 @@
1
  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:
 
1
  name: Sync to Hugging Face hub
2
  on:
3
+ release:
4
+ types: [published]
5
 
6
  # to run this workflow manually from the Actions tab
7
  workflow_dispatch: