Mostafa174 commited on
Commit
24a4057
·
1 Parent(s): f676a0c

redeployment

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy_to_hf.yml +4 -2
.github/workflows/deploy_to_hf.yml CHANGED
@@ -14,9 +14,11 @@ 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: |
 
21
  git remote add space https://huggingface.co/spaces/Mostafa174/Topic_Modeling_AI
22
- git push --force space main
 
14
  with:
15
  fetch-depth: 0
16
  lfs: true
17
+
18
+ - name: Push to Hugging Face Space
19
  env:
20
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
  run: |
22
+ git remote remove space 2>/dev/null || true
23
  git remote add space https://huggingface.co/spaces/Mostafa174/Topic_Modeling_AI
24
+ git push --force https://$HF_TOKEN@huggingface.co/spaces/Mostafa174/Topic_Modeling_AI