Duan Shuo commited on
Commit
9a53454
·
1 Parent(s): 41bb7b3

Fixed deploy.yml syntax and push command

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +3 -1
.github/workflows/deploy.yml CHANGED
@@ -18,4 +18,6 @@ jobs:
18
  - name: Push to Hugging Face Hub
19
  env:
20
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
- run: git push --force https://ShuoDuan:$HF_TOKEN@huggingface.co/spaces/ShuoDuan/FinTech-Self-Learning-Project main
 
 
 
18
  - name: Push to Hugging Face Hub
19
  env:
20
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
+ run: |
22
+ git remote add space https://ShuoDuan:$HF_TOKEN@huggingface.co/spaces/ShuoDuan/FinTech_Self-Learning-Project || true
23
+ git push --force space main