From e93624b987c96d646b2d776c2ca91c47d4b84cef Mon Sep 17 00:00:00 2001 From: ylly Date: Thu, 28 May 2026 20:09:07 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20delete=20.devops/=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E9=83=A8=E7=BD=B2.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/自动部署.yml | 42 ---------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .devops/自动部署.yml diff --git a/.devops/自动部署.yml b/.devops/自动部署.yml deleted file mode 100644 index c361740..0000000 --- a/.devops/自动部署.yml +++ /dev/null @@ -1,42 +0,0 @@ - version: 2 - name: 自动部署 - description: "" - global: - concurrent: 1 - trigger: - webhook: gitlink@1.0.0 - event: - - ref: push - ruleset-operator: AND - workflow: - - ref: start - name: 开始 - task: start - - ref: git_clone_0 - name: git clone - task: git_clone@1.2.9 - input: - username: ((gitlink_cli.ylly_git_user)) - password: ((gitlink_cli.ylly_git_pass)) - remote_url: '"https://gitlink.org.cn/ylly/gitlink-cli.git"' - ref: '"refs/heads/master"' - commit_id: '""' - depth: 1 - needs: - - start - - ref: ssh_cmd_0 - name: ssh执行命令 - task: ssh_cmd@1.1.1 - input: - ssh_pass: '"pdl@#YwC$WRWFyHKxC8nyu!4"' - ssh_ip: '"8.136.61.14"' - ssh_port: '"22"' - ssh_user: '"root"' - ssh_cmd: '"cd /opt/gitlink-cli && git pull && go build -o /usr/local/bin/gitlink-cli . && gitlink-cli version"' - needs: - - git_clone_0 - - ref: end - name: 结束 - task: end - needs: - - ssh_cmd_0 \ No newline at end of file