jdalfonso commited on
Commit
75ea4e8
·
1 Parent(s): 8173524

:rocket: delete action

Browse files
.github/workflows/{check_file_size.yml → sync_hf.yml} RENAMED
@@ -1,6 +1,6 @@
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
@@ -10,7 +10,11 @@ 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
 
 
 
 
 
 
1
+ name: Sync to Hugging Face hub
2
+ on:
3
+ push:
4
  branches: [main]
5
 
6
  # to run this workflow manually from the Actions tab
 
10
  sync-to-hub:
11
  runs-on: ubuntu-latest
12
  steps:
13
+ - uses: actions/checkout@v3
 
14
  with:
15
+ fetch-depth: 0
16
+ lfs: true
17
+ - name: Push to hub
18
+ env:
19
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
+ run: git push https://HF_USERNAME:[email protected]/spaces/jdalfonso/SISE-ULTIMATE-CHALLENGE main