From bf30283ac53a1f5cff648d734a66474747da2278 Mon Sep 17 00:00:00 2001 From: claude_dev Date: Sun, 2 Aug 2026 23:27:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20nas-verify=20=E5=8A=A0=20checkout(ch?= =?UTF-8?q?eck-vps-needed=20=E9=9C=80=20git=20log+=E8=84=9A=E6=9C=AC,?= =?UTF-8?q?=E5=8E=9F=20job=20=E5=8F=AA=20curl/ssh=20=E6=97=A0=E4=BB=A3?= =?UTF-8?q?=E7=A0=81)=20[nas]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci-cd.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 03b3afe..2e1e4ce 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -98,6 +98,16 @@ jobs: env: HOME: /Users/chufeng steps: + - name: checkout (check-vps-needed 需 git log + scripts/ci 脚本) + env: + TOKEN: ${{ github.token }} + run: | + git init . + git config --local http.proxy "" + git config --local https.proxy "" + git remote add origin "http://oauth2:${TOKEN}@192.168.2.154:3000/${GITHUB_REPOSITORY}.git" + git fetch --depth 1 origin "${GITHUB_SHA}" + git checkout FETCH_HEAD - name: NAS web API 健康(login + strategy/list 200 非空) run: | BASE=http://192.168.2.154:8000