danielRamon commited on
Commit
7d342bb
·
1 Parent(s): 6f8b2d3

check size for HF

Browse files
Files changed (1) hide show
  1. .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:[email protected]/spaces/danielRamon/cluedo main
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
  run: git push https://HF_USERNAME:[email protected]/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/[email protected]
36
+ with:
37
+ filesizelimit: 10485760 # this is 10MB