ThankGod commited on
Commit
78619aa
·
unverified ·
1 Parent(s): 04c8f2a

Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +3 -3
.github/workflows/main.yml CHANGED
@@ -15,9 +15,9 @@ jobs:
15
  fetch-depth: 0
16
  - name: Add remote
17
  env:
18
- HUGGINGFACE: ${{ secrets.HUGGINGFACE }}
19
- run: git remote add space https://huggingface.co/spaces/ThankGod/image-classifier
20
  - name: Push to hub
21
  env:
22
  HUGGINGFACE: ${{ secrets.HUGGINGFACE }}
23
- run: git push --force https://huggingface.co/spaces/ThankGod/image-classifier main
 
15
  fetch-depth: 0
16
  - name: Add remote
17
  env:
18
+ HUGGINGFACE: ${{ secrets.HUGGINGFACE }}
19
+ run: git remote add space https://ThankGod:$HUGGINGFACE@huggingface.co/spaces/ThankGod/image-classifier
20
  - name: Push to hub
21
  env:
22
  HUGGINGFACE: ${{ secrets.HUGGINGFACE }}
23
+ run: git push https://ThankGod:$HUGGINGFACE@huggingface.co/spaces/ThankGod/image-classifier main