refactor: .devops/wyx_gitlink_cli_build.yml

This commit is contained in:
wyxttn 2026-06-04 11:18:49 +08:00 committed by jianmu
parent 23894e5a6f
commit f334f3484f
1 changed files with 1 additions and 3 deletions

View File

@ -16,8 +16,6 @@ workflow:
name: git clone
task: git_clone@1.2.9
input:
username: ((gitlink_cli.wyx_git_user))
password: ((gitlink_cli.wyx_git_pass))
remote_url: '"https://gitlink.org.cn/jiangtx/gitlink-cli.git"'
ref: '"refs/heads/master"'
commit_id: '""'
@ -31,7 +29,7 @@ workflow:
ssh_ip: '"121.41.212.97"'
ssh_port: '"22"'
ssh_user: '"root"'
ssh_private_key: ((gitlink_cli.wyx_ssh_pass))
ssh_pass: ((gitlink_cli.wyx_ssh_pass))
ssh_cmd: >-
"cd /root && rm -rf gitlink-cli && git clone --depth=1 -b master https://gitlink.org.cn/jiangtx/gitlink-cli.git && cd gitlink-cli && export PATH=$PATH:/usr/local/go/bin && export GOPROXY=https://goproxy.cn,direct && echo '>>> 编译二进制' && go build -o gitlink-cli . && echo '>>> 验证根命令' && ./gitlink-cli --help | head -20 && echo '>>> 验证 pm 模块6条命令' && ./gitlink-cli pm --help && echo '>>> 验证 wiki 模块5条命令' && ./gitlink-cli wiki --help && echo '>>> 验证 export 模块3条命令' && ./gitlink-cli export --help && echo '>>> 验证 alias 命令' && ./gitlink-cli alias --help && echo '>>> 验证 browse 命令' && ./gitlink-cli browse --help && echo '>>> 验证 status 命令' && ./gitlink-cli status && echo '✅ 所有命令验证通过'"
needs: