ahmedkobtan commited on
Commit
415179d
·
1 Parent(s): cb84997

adding HF sync code

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +4 -5
.github/workflows/main.yml CHANGED
@@ -5,7 +5,6 @@ on:
5
  branches:
6
  [main]
7
 
8
- # to run this workflow manually from the Actions tab
9
  workflow_dispatch:
10
 
11
  jobs:
@@ -17,9 +16,9 @@ jobs:
17
  fetch-depth: 0
18
  - name: Add remote
19
  env:
20
- HF: ${{ secrets.HF}}
21
- run: git remote add space https://auk003i:HF@huggingface.co/spaces/akobtan/demo
22
  - name: Push to hub
23
  env:
24
- HF: ${{ secrets.HF}}
25
- run: git push --force https://auk003i:HF@huggingface.co/spaces/akobtan/demo main
 
5
  branches:
6
  [main]
7
 
 
8
  workflow_dispatch:
9
 
10
  jobs:
 
16
  fetch-depth: 0
17
  - name: Add remote
18
  env:
19
+ HF: ${{ secrets.HF }}
20
+ run: git remote add space https://auk003i:${{ secrets.HF }}@huggingface.co/spaces/akobtan/demo
21
  - name: Push to hub
22
  env:
23
+ HF: ${{ secrets.HF }}
24
+ run: git push --force https://auk003i:${{ secrets.HF }}@huggingface.co/spaces/akobtan/demo main