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