Spaces:
Sleeping
Sleeping
:rocket: delete action
Browse files
.github/workflows/{check_file_size.yml → sync_hf.yml}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
-
name:
|
2 |
-
on:
|
3 |
-
|
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 |
-
-
|
14 |
-
uses: ActionsDesk/[email protected]
|
15 |
with:
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
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
|