diff --git a/.devops/wyx_gitlink_cli_build.yml b/.devops/wyx_gitlink_cli_build.yml index de0f1711..bd2c0a55 100644 --- a/.devops/wyx_gitlink_cli_build.yml +++ b/.devops/wyx_gitlink_cli_build.yml @@ -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: