Skip to content

Commit

Permalink
Del:key files
Browse files Browse the repository at this point in the history
  • Loading branch information
rocknroll17 committed Oct 6, 2024
1 parent b7aaa00 commit 184b86b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 78 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ jobs:
- name: Deploy to EC2
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.EC2_USER }}@${{ secrets.EC2_HOST }} << 'EOF'
cd /planner
cd planner_server
git pull origin main
${{ secrets.USER_NAME }}
${{ secrets.PULL_KEY }}
cd /Controller
cd Controller
source myenv/bin/activate
pip install -r requirements.txt
pkill -f uvicorn && nohup uvicorn main:app --host 0.0.0.0 --port 1500 > uvicorn.log 2>&1 &
pkill -f uvicorn
nohup uvicorn main:app --host 0.0.0.0 --port 1500 > uvicorn.log 2>&1 &
EOF
23 changes: 0 additions & 23 deletions Controller/planner.crt

This file was deleted.

18 changes: 0 additions & 18 deletions Controller/planner.csr

This file was deleted.

28 changes: 0 additions & 28 deletions Controller/planner.key

This file was deleted.

6 changes: 0 additions & 6 deletions Router/main_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
@router.get("/", summary="테스트", description="테스트")
async def main(request: Request):
try:
db = get_db()

achievement = achievement_service.get_progress_by_book_id("b280e3bb281dfd3807ddfc2f354d084d7725532a80f6fd08e3aaaeb3b2840ea3", db)
print(achievement)
get_progress_by_book_id_list = achievement_service.get_progress_by_book_id_list(["b280e3bb281dfd3807ddfc2f354d084d7725532a80f6fd08e3aaaeb3b2840ea3", "ceefb127424123b00c130c986a0ae03f6dbdc0703a9e769b8ef9d0a18ded5733"], db)
print(get_progress_by_book_id_list)
return JSONResponse(status_code=200, content={"message": "Nice to meet you!"})
except Exception as e:
print(e)
Expand Down

0 comments on commit 184b86b

Please sign in to comment.