fix(ci): nas-verify 加 checkout(check-vps-needed 需 git log+脚本,原 job 只 curl/ssh 无代码) [nas]
This commit is contained in:
@@ -98,6 +98,16 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
HOME: /Users/chufeng
|
HOME: /Users/chufeng
|
||||||
steps:
|
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 非空)
|
- name: NAS web API 健康(login + strategy/list 200 非空)
|
||||||
run: |
|
run: |
|
||||||
BASE=http://192.168.2.154:8000
|
BASE=http://192.168.2.154:8000
|
||||||
|
|||||||
Reference in New Issue
Block a user