openclash-rule/.drone.yml
yulei 048f357fd5
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
3
2025-03-12 19:45:39 +08:00

25 lines
711 B
YAML

kind: pipeline
type: docker
name: default
workspace:
path: /drone/src
steps:
- name: git-push
image: appleboy/drone-git-push
commands:
- git config --global http.sslVerify false
- git clone --depth=1 --branch=dev https://git.yulei.icu/yulei/openclash-rule.git /drone/src
settings:
ssh_key:
from_secret: GITEE # 从 Drone 的密钥管理中获取 SSH 私钥
remote: git@gitee.com:Colombeblanche/openclash-rule.git
branch: main
commit: true
commit_message: "Deploy changes [skip ci]"
author_name: yulei
author_email: yulei5024@gmail.com
force: true
followtags: true
tag: v1.0.0 # 可选,如果需要推送标签