From 71a50704d73a3d1e2a0428b8556fe8c98398e503 Mon Sep 17 00:00:00 2001 From: Dmitriy Fofanov Date: Wed, 25 Feb 2026 00:57:54 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BB=D1=83=D1=87=D1=88=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=80=D0=B0=D0=B7=D0=B2=D0=B5=D1=80=D1=82=D1=8B?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D1=81=D0=BB=D1=83=D0=B6=D0=B1?= =?UTF-8?q?=D1=8B:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=BE=20=D1=83=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D1=81=D1=82=D0=B0=D1=82=D1=83=D1=81=D0=BE=D0=BC=20?= =?UTF-8?q?=D0=B8=20=D0=B6=D1=83=D1=80=D0=BD=D0=B0=D0=BB=D0=BE=D0=BC=20?= =?UTF-8?q?=D1=81=D0=BB=D1=83=D0=B6=D0=B1=D1=8B=20=D0=BF=D0=BE=D1=81=D0=BB?= =?UTF-8?q?=D0=B5=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B7=D0=B0=D0=BF=D1=83=D1=81?= =?UTF-8?q?=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-service.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-service.yml b/.github/workflows/deploy-service.yml index da1f067..24f674d 100644 --- a/.github/workflows/deploy-service.yml +++ b/.github/workflows/deploy-service.yml @@ -275,6 +275,13 @@ jobs: echo \">>> config.json deployed to: ${CONFIG_DEST}\"; \ sudo rm -rf \"\${TMP_DIR}\" /tmp/configure_nginx_manager_deploy.tar.gz; \ sudo systemctl daemon-reload; \ - sudo systemctl restart \"${DEPLOY_SERVICE}\"; \ - sudo systemctl enable \"${DEPLOY_SERVICE}\"; \ - sudo systemctl --no-pager --full status \"${DEPLOY_SERVICE}\" | head -n 30 || true" + sudo systemctl enable \"${DEPLOY_SERVICE}\" || true; \ + echo \">>> Starting service...\"; \ + sudo systemctl restart \"${DEPLOY_SERVICE}\" || true; \ + sleep 2; \ + echo \">>> Service status:\"; \ + sudo systemctl --no-pager --full status \"${DEPLOY_SERVICE}\" | head -n 30 || true; \ + echo \">>> Last journal entries:\"; \ + sudo journalctl -u \"${DEPLOY_SERVICE}\" -n 30 --no-pager || true; \ + echo \">>> Config used:\"; \ + sudo cat \"${CONFIG_DEST}\" | python3 -c \"import json,sys; c=json.load(sys.stdin); c['regru_password']='***'; c['npm_password']='***'; print(json.dumps(c,indent=2,ensure_ascii=False))\" || true"