Spaces:
Sleeping
Sleeping
✅ skip unit test and update HF token in CI/CD and Dockerfile for deployment in hugging face
Browse files
.github/workflows/deploy.yml
CHANGED
@@ -35,3 +35,12 @@ jobs:
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
|