varun-d-gl commited on
Commit
c86fbc0
·
unverified ·
1 Parent(s): af69f1e

Update main.yml gpu and cpu

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +13 -4
.github/workflows/main.yml CHANGED
@@ -1,9 +1,8 @@
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:
@@ -14,7 +13,17 @@ jobs:
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 --force https://varun-d-gl:$HF_TOKEN@huggingface.co/spaces/varun-d-gl/Recording-QC-Bot main
 
 
 
 
 
 
 
 
 
 
1
  name: Sync to Hugging Face hub
2
+
3
  on:
4
  push:
5
  branches: [main]
 
 
6
  workflow_dispatch:
7
 
8
  jobs:
 
13
  with:
14
  fetch-depth: 0
15
  lfs: true
16
+
17
+ - name: Push to varun-d-gl space
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
+ run: |
21
+ git remote add varun https://varun-d-gl:$HF_TOKEN@huggingface.co/spaces/varun-d-gl/Recording-QC-Bot || true
22
+ git push --force varun main
23
+
24
+ - name: Push to product-ai-gl space
25
+ env:
26
+ HF_TOKEN_GPU: ${{ secrets.HF_TOKEN_GPU }}
27
+ run: |
28
+ git remote add product https://varun-d-gl:$HF_TOKEN_GPU@huggingface.co/spaces/product-ai-gl/Recording-QC-Bot || true
29
+ git push --force product main