We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 89c6073 + bc879d7 commit 5fd5806Copy full SHA for 5fd5806
.github/workflows/fastapi-dev-ci-cd.yml
@@ -52,7 +52,7 @@ jobs:
52
cd /home/$EC2_USERNAME/fastapi-app
53
54
# Python venv 설치
55
- echo '[INFO] python3.10-venv 설치 보장 중...'
+ echo '[INFO] python3.10-venv 설치 중...'
56
sudo apt update
57
sudo apt install -y python3.10-venv python3-pip
58
@@ -65,7 +65,11 @@ jobs:
65
# fast api 서버 재시작
66
pkill -f 'uvicorn' || true
67
export PYTHONPATH=$(pwd)
68
- nohup venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000 > fastapi.log 2>&1 &
+
69
+ echo '[INFO] FastAPI 실행 중...'
70
+ nohup ./venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000 > fastapi.log 2>&1 &
71
+ sleep 8
72
+ tail -n 50 fastapi.log
73
"
74
75
rm -f private_key.pem
0 commit comments