Spaces:
Sleeping
Sleeping
✅ skip unit test and update HFCI_Token token in CI/CD and Dockerfile for deployment in hugging face
Browse files- .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 |
-
|
31 |
env:
|
32 |
-
|
33 |
run: |
|
34 |
git config --global user.email "[email protected]"
|
35 |
-
git config --global user.name "LLM Marketing
|
36 |
-
git remote set-url origin https://huggingface.co/spaces/
|
37 |
git push origin main
|
38 |
-
|
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 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|