MO1990D commited on
Commit
cd9efd3
·
1 Parent(s): ce465ff

✅ skip unit test and update HFCI_Token token in CI/CD and Dockerfile for deployment in hugging face

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +5 -13
.github/workflows/deploy.yml CHANGED
@@ -27,20 +27,12 @@ jobs:
27
  - name: Run unit tests
28
  run: pytest tests/
29
 
30
- - name: Deploy to Hugging Face Spaces (example)
31
  env:
32
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
33
  run: |
34
  git config --global user.email "[email protected]"
35
- git config --global user.name "LLM Marketing CI Bot"
36
- git remote set-url origin https://huggingface.co/spaces/YOUR_USERNAME/YOUR_SPACE_NAME
37
  git push origin main
38
- - name: Deploy to Hugging Face Spaces
39
- env:
40
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
41
- run: |
42
- git config --global user.email "[email protected]"
43
- git config --global user.name "LLM Marketing Bot"
44
- git remote set-url origin https://ci-bot:${CI_TOKEN}@huggingface.co/spaces/Mustafa90d/llm_marketing_env
45
- git push origin main
46
-
 
27
  - name: Run unit tests
28
  run: pytest tests/
29
 
30
+ - name: Deploy to Hugging Face Spaces
31
  env:
32
+ CI_TOKEN: ${{ secrets.CI_TOKEN }}
33
  run: |
34
  git config --global user.email "[email protected]"
35
+ git config --global user.name "LLM Marketing Bot"
36
+ git remote set-url origin https://ci-bot:${CI_TOKEN}@huggingface.co/spaces/Mustafa90d/llm_marketing_env
37
  git push origin main
38
+