Spaces:
Build error
Build error
Separate Github Actions
Browse files
.github/workflows/check_file_size.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Check file size
|
| 2 |
+
on: [push]
|
| 3 |
+
|
| 4 |
+
jobs:
|
| 5 |
+
sync-to-hub:
|
| 6 |
+
runs-on: ubuntu-latest
|
| 7 |
+
steps:
|
| 8 |
+
- name: Check large files
|
| 9 |
+
uses: ActionsDesk/lfs-warning@v2.0
|
| 10 |
+
with:
|
| 11 |
+
filesizelimit: 10485760
|
.github/workflows/huggingface_sync.yaml
CHANGED
|
@@ -14,16 +14,4 @@ jobs:
|
|
| 14 |
- name: Push to hub
|
| 15 |
env:
|
| 16 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 17 |
-
run: git push https://uijnbh:$HF_TOKEN@huggingface.co/spaces/uijnbh/media_assistant main
|
| 18 |
-
|
| 19 |
-
name: Check file size
|
| 20 |
-
on: [push]
|
| 21 |
-
|
| 22 |
-
jobs:
|
| 23 |
-
sync-to-hub:
|
| 24 |
-
runs-on: ubuntu-latest
|
| 25 |
-
steps:
|
| 26 |
-
- name: Check large files
|
| 27 |
-
uses: ActionsDesk/lfs-warning@v2.0
|
| 28 |
-
with:
|
| 29 |
-
filesizelimit: 10485760
|
|
|
|
| 14 |
- name: Push to hub
|
| 15 |
env:
|
| 16 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 17 |
+
run: git push https://uijnbh:$HF_TOKEN@huggingface.co/spaces/uijnbh/media_assistant main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|