switch sync-hf workflow logic on release, avoid hidden space error with pypi/local_editable mismatch
Browse files
.github/workflows/sync-hf.yaml
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
name: Sync to HF Space
|
2 |
|
3 |
on:
|
4 |
-
|
5 |
-
|
6 |
-
- main
|
7 |
-
|
8 |
|
9 |
jobs:
|
10 |
trigger_curl:
|
|
|
1 |
name: Sync to HF Space
|
2 |
|
3 |
on:
|
4 |
+
release:
|
5 |
+
types: [published]
|
|
|
|
|
6 |
|
7 |
jobs:
|
8 |
trigger_curl:
|