Spaces:
Sleeping

dn commited on
Commit
7e25415
·
1 Parent(s): 6e33ae0

deploy dependency

Browse files
Files changed (1) hide show
  1. .github/workflows/sync-to-hf.yml +3 -2
.github/workflows/sync-to-hf.yml CHANGED
@@ -1,8 +1,9 @@
1
  name: Sync to Hugging Face Spaces
2
  on:
3
- push:
 
4
  branches: [main]
5
-
6
  jobs:
7
  sync:
8
  runs-on: ubuntu-latest
 
1
  name: Sync to Hugging Face Spaces
2
  on:
3
+ workflow_run:
4
+ workflows: ["CI"] # must match the `name:` field in ci.yml exactly
5
  branches: [main]
6
+ types: [completed]
7
  jobs:
8
  sync:
9
  runs-on: ubuntu-latest