Spaces:
Build error
Build error
Commit ·
7d342bb
1
Parent(s): 6f8b2d3
check size for HF
Browse files- .github/workflows/main.yml +17 -0
.github/workflows/main.yml
CHANGED
|
@@ -18,3 +18,20 @@ jobs:
|
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 20 |
run: git push https://HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/danielRamon/cluedo main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 20 |
run: git push https://HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/danielRamon/cluedo main
|
| 21 |
+
|
| 22 |
+
name: Check file size
|
| 23 |
+
on:
|
| 24 |
+
pull_request:
|
| 25 |
+
branches: [main]
|
| 26 |
+
|
| 27 |
+
# to run this workflow manually from the Actions tab
|
| 28 |
+
workflow_dispatch:
|
| 29 |
+
|
| 30 |
+
jobs:
|
| 31 |
+
sync-to-hub:
|
| 32 |
+
runs-on: ubuntu-latest
|
| 33 |
+
steps:
|
| 34 |
+
- name: Check large files
|
| 35 |
+
uses: ActionsDesk/lfs-warning@v2.0
|
| 36 |
+
with:
|
| 37 |
+
filesizelimit: 10485760 # this is 10MB
|