File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ jobs:
2020 key : ${{ secrets.AI_SERVER_KEY }}
2121 port : ${{ secrets.AI_SERVER_PORT }}
2222 script : |
23- # 기존 서비스 종료
23+ # 기존 서비스 종료 - 종료 코드를 무시하고 항상 성공으로 처리
2424 echo "기존 MLflow 및 Uvicorn 서비스 종료 중..."
25- pkill -f "mlflow server" || echo "MLflow 프로세스가 없습니다"
26- pkill -f "uvicorn main:app" || echo "Uvicorn 프로세스가 없습니다"
27- sleep 2
25+ pkill -f "mlflow server" || true
26+ pkill -f "uvicorn main:app" || true
27+ # 이전 프로세스가 완전히 종료되도록 잠시 대기
28+ sleep 3
2829
2930 # 폴더 새로 생성
3031 rm -rf ~/chatbot || true
5354 echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > .env
5455 echo "TAVILY_API_KEY=${{ secrets.TAVILY_API_KEY }}" >> .env
5556 echo "MILVUS_URI=http://localhost:19530" >> .env
57+ sudo chmod +x ./standalone_embed.sh
58+ ./standalone_embed.sh
5659 sudo chmod +x ./dependency.sh
5760 ./dependency.sh
5861 # uses: actions/checkout@v4
You can’t perform that action at this time.
0 commit comments