Skip to content

Commit

Permalink
Test push
Browse files Browse the repository at this point in the history
  • Loading branch information
rocknroll17 committed Oct 6, 2024
1 parent 370e136 commit b7aaa00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
- name: Deploy to EC2
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.EC2_USER }}@${{ secrets.EC2_HOST }} << 'EOF'
cd /planner # FastAPI 프로젝트 디렉토리로 이동
cd /planner
git pull origin main
${{ secrets.USER_NAME }}
${{ secrets.PULL_KEY }}
cd /Controller
source myenv/bin/activate
pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 1500 --reload &
pkill -f uvicorn && nohup uvicorn main:app --host 0.0.0.0 --port 1500 > uvicorn.log 2>&1 &
EOF

0 comments on commit b7aaa00

Please sign in to comment.