From e5ebb252db2da410106c5b609086dfa314c872e9 Mon Sep 17 00:00:00 2001 From: yulei Date: Wed, 12 Mar 2025 19:19:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=83=A8=E7=BD=B2=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7c8d3c6..10149b7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,3 +1,22 @@ kind: pipeline type: docker -name: greeting \ No newline at end of file +name: default + +workspace: + path: /drone/src + +steps: + - name: git-push + image: appleboy/drone-git-push + settings: + ssh_key: + from_secret: GITEE # 从 Drone 的密钥管理中获取 SSH 私钥 + remote: git@gitee.com:Colombeblanche/openclash-rule.git + branch: master + commit: true + commit_message: "Deploy changes [skip ci]" + author_name: yulei + author_email: yulei5024@gmail.com + force: true + followtags: true + tag: v1.0.0 # 可选,如果需要推送标签 \ No newline at end of file