From eb22ad2074bca676a6a9def2ba4be1ba890d278b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Sat, 23 May 2026 13:45:10 +0400 Subject: [PATCH] =?UTF-8?q?v103:=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B5=D0=B7?= =?UTF-8?q?=D0=B4=20=D0=BD=D0=B0=20=D1=80=D0=BE=D1=81=D0=92=D0=9C=205.172.?= =?UTF-8?q?178.213.=20nginx,=20groq-proxy,=20=D0=B2=D1=81=D1=91=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D0=B5=D1=82.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy_lang.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy_lang.sh b/deploy_lang.sh index 1409b26..475c6e1 100755 --- a/deploy_lang.sh +++ b/deploy_lang.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -VM="root@95.179.252.111" -SSH="ssh -i ~/.ssh/vultr_openssh -o StrictHostKeyChecking=no" +VM="naeel@5.172.178.213" +SSH="ssh -i ~/.ssh/naeel_vm_id_ed25519 -o StrictHostKeyChecking=no -o ConnectTimeout=10" echo "=== build ===" ~/lang/.venv/bin/python3 ~/lang/build.sh @@ -16,9 +16,9 @@ open('$HOME/lang/dist/index.html', 'w').write(h) echo " done" echo "=== rsync -> VM ===" -rsync -az -e "$SSH" --exclude='.git' --exclude='.venv' --exclude='__pycache__' ~/lang/ ${VM}:/opt/lyngvo/ +rsync -az -e "$SSH" /home/naeel/lang/dist/ ${VM}:/var/www/lyngvo/ -echo "=== apply on VM ===" -$SSH $VM 'cp /opt/lyngvo/dist/index.html /var/www/lyngvo/index.html && echo OK' +echo "=== restart proxy ===" +$SSH $VM 'sudo systemctl restart groq-proxy && echo OK' echo "=== https://lang.kube5s.ru ==="