Przeglądaj źródła

[#1] chore: pull with filters on server in deploy script

Lange François 3 tygodni temu
rodzic
commit
7fd5405497
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      scripts/deploy_to_server.py

+ 1 - 1
scripts/deploy_to_server.py

@@ -35,7 +35,7 @@ def deploy():
         print("Connected successfully!")
         
         local_model = os.environ.get('LLM_MODEL', 'llama3.2-vision:11b')
-        command = f"cd food_project && git stash && rm -f git_version.txt git_id.txt && git -c filter.ident-dynamic.clean= -c filter.ident-dynamic.smudge= pull && git stash clear && sed -i 's/^LLM_MODEL=.*/LLM_MODEL={local_model}/' .env && docker-compose up -d --build"
+        command = f"cd food_project && git stash && rm -f git_version.txt git_id.txt && git pull && git stash clear && sed -i 's/^LLM_MODEL=.*/LLM_MODEL={local_model}/' .env && docker-compose up -d --build"
         print(f"Executing: {command}")
         
         stdin, stdout, stderr = ssh.exec_command(command)