boris commited on
Commit
5d72414
1 Parent(s): 32f50fe

feat: push to hub

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +5 -7
.github/workflows/main.yml CHANGED
@@ -6,19 +6,17 @@ on:
6
  pull_request:
7
  branches: [main]
8
 
9
- # Allows you 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
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
17
  - uses: actions/checkout@v2
18
-
19
- - uses: ActionsDesk/[email protected]
20
  with:
21
  filesizelimit: 900000 # so we can sync to HF spaces
22
- # Runs a single command using the runners shell
23
- - name: Run a one-line script
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/[email protected]
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