Spaces:
Runtime error
Runtime error
Commit
·
754fe26
1
Parent(s):
088b4f1
updated actions
Browse files
.github/workflows/file-size.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Check file size
|
| 2 |
+
on: # or directly `on: [push]` to run the action on every push on any branch
|
| 3 |
+
pull_request:
|
| 4 |
+
branches: [main]
|
| 5 |
+
|
| 6 |
+
# to run this workflow manually from the Actions tab
|
| 7 |
+
workflow_dispatch:
|
| 8 |
+
|
| 9 |
+
jobs:
|
| 10 |
+
sync-to-hub:
|
| 11 |
+
runs-on: ubuntu-latest
|
| 12 |
+
steps:
|
| 13 |
+
- name: Check large files
|
| 14 |
+
uses: ActionsDesk/[email protected]
|
| 15 |
+
with:
|
| 16 |
+
filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces
|
.github/workflows/huggingface.yml
CHANGED
|
@@ -19,20 +19,3 @@ jobs:
|
|
| 19 |
HF_USERNAME: waidhoferj
|
| 20 |
SPACE_NAME: dance-classifier
|
| 21 |
run: git push https://HF_USERNAME:[email protected]/spaces/HF_USERNAME/SPACE_NAME main
|
| 22 |
-
|
| 23 |
-
name: Check file size
|
| 24 |
-
on: # or directly `on: [push]` to run the action on every push on any branch
|
| 25 |
-
pull_request:
|
| 26 |
-
branches: [main]
|
| 27 |
-
|
| 28 |
-
# to run this workflow manually from the Actions tab
|
| 29 |
-
workflow_dispatch:
|
| 30 |
-
|
| 31 |
-
jobs:
|
| 32 |
-
sync-to-hub:
|
| 33 |
-
runs-on: ubuntu-latest
|
| 34 |
-
steps:
|
| 35 |
-
- name: Check large files
|
| 36 |
-
uses: ActionsDesk/[email protected]
|
| 37 |
-
with:
|
| 38 |
-
filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces
|
|
|
|
| 19 |
HF_USERNAME: waidhoferj
|
| 20 |
SPACE_NAME: dance-classifier
|
| 21 |
run: git push https://HF_USERNAME:[email protected]/spaces/HF_USERNAME/SPACE_NAME main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|