Spaces:
Sleeping
Sleeping
Anirudh Balaraman commited on
Commit ·
ebc1a7b
1
Parent(s): 37d4614
update yml
Browse files
.github/workflows/ci.yaml
CHANGED
|
@@ -2,8 +2,7 @@ name: CI
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
-
|
| 6 |
-
- '**/*.py'
|
| 7 |
|
| 8 |
jobs:
|
| 9 |
quality-assurance:
|
|
@@ -50,4 +49,4 @@ jobs:
|
|
| 50 |
git remote add space https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME
|
| 51 |
|
| 52 |
# Force push to the Space
|
| 53 |
-
git push --force space main
|
|
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
+
branches: [main]
|
|
|
|
| 6 |
|
| 7 |
jobs:
|
| 8 |
quality-assurance:
|
|
|
|
| 49 |
git remote add space https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME
|
| 50 |
|
| 51 |
# Force push to the Space
|
| 52 |
+
git push --force space HEAD:main
|