Spaces:
Running
Running
feat: push to hub
Browse files
.github/workflows/main.yml
CHANGED
@@ -6,19 +6,17 @@ on:
|
|
6 |
pull_request:
|
7 |
branches: [main]
|
8 |
|
9 |
-
#
|
10 |
workflow_dispatch:
|
11 |
|
12 |
jobs:
|
13 |
sync-to-hub:
|
14 |
runs-on: ubuntu-latest
|
15 |
steps:
|
16 |
-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
17 |
- uses: actions/checkout@v2
|
18 |
-
|
19 |
-
|
20 |
with:
|
21 |
filesizelimit: 900000 # so we can sync to HF spaces
|
22 |
-
|
23 |
-
|
24 |
-
run: ls ./**
|
|
|
6 |
pull_request:
|
7 |
branches: [main]
|
8 |
|
9 |
+
# to run this workflow manually from the Actions tab
|
10 |
workflow_dispatch:
|
11 |
|
12 |
jobs:
|
13 |
sync-to-hub:
|
14 |
runs-on: ubuntu-latest
|
15 |
steps:
|
|
|
16 |
- uses: actions/checkout@v2
|
17 |
+
- name: Check large files
|
18 |
+
uses: ActionsDesk/lfs-warning@v2.0
|
19 |
with:
|
20 |
filesizelimit: 900000 # so we can sync to HF spaces
|
21 |
+
- name: Push to hub
|
22 |
+
run: git push https://huggingface.co/spaces/flax-community/dalle-mini main
|
|