cevheri commited on
Commit
bebdc42
·
1 Parent(s): 8b33aae

fix: git remote on github actions

Browse files
Files changed (2) hide show
  1. .github/workflows/sync_with_hf.yml +3 -3
  2. Dockerfile +1 -1
.github/workflows/sync_with_hf.yml CHANGED
@@ -42,8 +42,8 @@ jobs:
42
  run: |
43
  git config --global user.email "actions@github.com"
44
  git config --global user.name "GitHub Actions"
45
- git remote add hf "https://api:$HF_TOKEN@huggingface.co/spaces/intellica/lokum"
46
- git fetch hf
47
  git checkout demo-tmp-memory
48
- git push hf demo-tmp-memory:main --force
49
 
 
42
  run: |
43
  git config --global user.email "actions@github.com"
44
  git config --global user.name "GitHub Actions"
45
+ git remote add hf2 "https://api:$HF_TOKEN@huggingface.co/spaces/intellica/lokum"
46
+ git fetch hf2
47
  git checkout demo-tmp-memory
48
+ git push hf2 demo-tmp-memory:main --force
49
 
Dockerfile CHANGED
@@ -22,4 +22,4 @@ EXPOSE 7860
22
 
23
  # Start command for Hugging Face Space
24
  # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
25
- CMD ["python", "app.py"]
 
22
 
23
  # Start command for Hugging Face Space
24
  # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
25
+ CMD ["python", "app.py"]