zineb-hub commited on
Commit
e0ca930
1 Parent(s): 485f70a

Update sync_to_hugginface_hub.yml

Browse files
.github/workflows/sync_to_hugginface_hub.yml CHANGED
@@ -1,20 +1,20 @@
1
  name: Sync to Hugging Face hub
2
-
3
  on:
4
  push:
5
  branches: [main]
6
-
7
- # to run this workflow manually from the Actions tab
8
  workflow_dispatch:
9
-
10
  jobs:
11
  sync-to-hub:
12
- runs-on: ubuntu-latest
13
  steps:
14
- - uses: actions/checkout@v2
15
  with:
16
  fetch-depth: 0
17
- - name: Push to hub
 
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
- run: git push https://zino36:H_TOKEN@huggingface.co/spaces/zino36/Image-Matching-app main
 
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
7
  workflow_dispatch:
8
+
9
  jobs:
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://zino36:$HF_TOKEN@huggingface.co/spaces/zino36/Matching main