Spaces:
Runtime error
Runtime error
cccmatthew
commited on
Commit
•
d98fad8
1
Parent(s):
afcba5a
Fix github actions
Browse files
.github/workflows/main.yml
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
name: Sync to Hugging Face hub
|
2 |
on:
|
3 |
push:
|
4 |
-
branches:
|
|
|
|
|
|
|
|
|
5 |
|
6 |
# to run this workflow manually from the Actions tab
|
7 |
workflow_dispatch:
|
@@ -32,7 +36,7 @@ jobs:
|
|
32 |
python3 inference.py
|
33 |
|
34 |
DeployDev:
|
35 |
-
name: Deploy to
|
36 |
if: github.event_name == 'pull_request'
|
37 |
needs: [Build]
|
38 |
runs-on: ubuntu-latest
|
|
|
1 |
name: Sync to Hugging Face hub
|
2 |
on:
|
3 |
push:
|
4 |
+
branches:
|
5 |
+
- main
|
6 |
+
pull_request:
|
7 |
+
branches:
|
8 |
+
- main
|
9 |
|
10 |
# to run this workflow manually from the Actions tab
|
11 |
workflow_dispatch:
|
|
|
36 |
python3 inference.py
|
37 |
|
38 |
DeployDev:
|
39 |
+
name: Deploy to Development
|
40 |
if: github.event_name == 'pull_request'
|
41 |
needs: [Build]
|
42 |
runs-on: ubuntu-latest
|