Skip to content

Commit 82628c4

Browse files
committed
remove auto run script
1 parent ed1502e commit 82628c4

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
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

script/start.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
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 🚀"

0 commit comments

Comments
 (0)