@@ -44,7 +44,7 @@ jobs:
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh -o StrictHostKeyChecking=no root@$DEPLOY_TEST_HOST_IP "mkdir -p $DEPLOY_PATH"
|
||||
|
||||
ssh root@$DEPLOY_TEST_HOST_IP "rm -f $DEPLOY_PATH/**"
|
||||
ssh root@$DEPLOY_TEST_HOST_IP "rm -rf $DEPLOY_PATH/**"
|
||||
scp -r ./** root@$DEPLOY_TEST_HOST_IP:$DEPLOY_PATH/
|
||||
ssh root@$DEPLOY_TEST_HOST_IP "cd $DEPLOY_PATH && docker compose up -d --force-recreate"
|
||||
|
||||
|
Reference in New Issue
Block a user