File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 ssh -i ~/.ssh/id_rsa_team -o StrictHostKeyChecking=no -p $SSH_HOST_PORT $SSH_USER@$SSH_HOST "chmod 755 -R $DEPLOYMENT_DIRECTORY"
5757
5858 # Run deployment script on server
59- ssh -i ~/.ssh/id_rsa_team -p $SSH_HOST_PORT -o StrictHostKeyChecking=no $SSH_USER@$SSH_HOST "bash $DEPLOYMENT_DIRECTORY/script/start.sh"
59+ # ssh -i ~/.ssh/id_rsa_team -p $SSH_HOST_PORT -o StrictHostKeyChecking=no $SSH_USER@$SSH_HOST "bash $DEPLOYMENT_DIRECTORY/script/start.sh"
6060
6161
6262
Original file line number Diff line number Diff line change 1010# # npm run build
1111
1212
13- echo " === Deploying backend ==="
14- cd $DEPLOY_PATH /backend
15- source $VENV_PATH /bin/activate
16- # Restart backend using PM2 and uvicorn
17- pm2 start uvicorn --name backend -- \
18- app:app --host 0.0.0.0 --port 8000 || pm2 restart backend
13+ # echo "=== Deploying backend ==="
14+ # cd $DEPLOY_PATH/backend
15+ # source $VENV_PATH/bin/activate
16+ # # Restart backend using PM2 and uvicorn
17+ # pm2 start uvicorn --name backend -- \
18+ # app:app --host 0.0.0.0 --port 8000 || pm2 restart backend
1919
20- echo " Deployment complete 🚀"
20+ # echo "Deployment complete 🚀"
You can’t perform that action at this time.
0 commit comments