MO1990D commited on
Commit
0fab805
·
1 Parent(s): 3c76a64

Fix deploy.yml for Hugging Face CD

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +4 -4
.github/workflows/deploy.yml CHANGED
@@ -21,8 +21,8 @@ jobs:
21
  - name: Install dependencies
22
  run: |
23
  python -m pip install --upgrade pip
24
- pip install -r requirements.txt
25
- pip install pytest
26
 
27
  - name: Run unit tests (skipped)
28
  run: echo "Skipping tests for now..."
@@ -33,5 +33,5 @@ jobs:
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://Mustafa90d:${CI_TOKEN}@huggingface.co/spaces/Mustafa90d/llm_marketing_env
37
- git push origin main
 
21
  - name: Install dependencies
22
  run: |
23
  python -m pip install --upgrade pip
24
+ pip install -r requirements.txt || true
25
+ pip install pytest || true
26
 
27
  - name: Run unit tests (skipped)
28
  run: echo "Skipping tests for now..."
 
33
  run: |
34
  git config --global user.email "[email protected]"
35
  git config --global user.name "LLM Marketing Bot"
36
+ git remote add hf https://Mustafa90d:${CI_TOKEN}@huggingface.co/spaces/Mustafa90d/llm_marketing_env.git
37
+ git push hf main --force