hsien chen commited on
Commit
7299fb3
1 Parent(s): 2b68923

Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +2 -2
.github/workflows/main.yml CHANGED
@@ -16,8 +16,8 @@ jobs:
16
  - name: Add remote
17
  env:
18
  HF: ${{ secrets.HFG }}
19
- run: git remote add space https://huggingface.co/spaces/hsienchen/git-2-HF
20
  - name: Push to hub
21
  env:
22
  HF: ${{ secrets.HF }}
23
- run: git push --force https://huggingface.co/spaces/hsienchen/git-2-HF main
 
16
  - name: Add remote
17
  env:
18
  HF: ${{ secrets.HFG }}
19
+ run: git remote add space https://hsienchen:$HF@huggingface.co/spaces/hsienchen/git-2-HF
20
  - name: Push to hub
21
  env:
22
  HF: ${{ secrets.HF }}
23
+ run: git push --force https://hsienchen:$HF@huggingface.co/spaces/hsienchen/git-2-HF main