Run `push to hub` workflow after CI is finished (#3)
Browse files
.github/workflows/push_to_hub.yaml
CHANGED
@@ -1,8 +1,13 @@
|
|
1 |
name: Sync to Hugging Face Hub
|
2 |
|
3 |
on:
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
jobs:
|
8 |
push_to_hub:
|
|
|
1 |
name: Sync to Hugging Face Hub
|
2 |
|
3 |
on:
|
4 |
+
workflow_run:
|
5 |
+
workflows:
|
6 |
+
- CI
|
7 |
+
branches:
|
8 |
+
- main
|
9 |
+
types:
|
10 |
+
- completed
|
11 |
|
12 |
jobs:
|
13 |
push_to_hub:
|