From 7226c3a28dbc71f2dd816cbff5cc8fb52acce968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=95=80=E9=93=AC=E9=85=B8=E9=92=BE?= <148796996+K2cr2O1@users.noreply.github.com> Date: Wed, 11 Mar 2026 18:28:48 +0800 Subject: [PATCH] Modify deployment script to include git pull Update dependencies and restart the NeoBot service after pulling the latest code. --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc72412..67ee7e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,6 +35,7 @@ jobs: set -e # 适配NeoBot项目:更新依赖+重启systemd服务 cd /home/k/NeoBot + git pull pip install -r requirements.txt --upgrade --timeout 300 --only-binary=:all: sudo systemctl daemon-reload sudo systemctl restart neobot