From b5aaea6c2dcb35147fc1b7cd2b85bf869c1b8fab Mon Sep 17 00:00:00 2001 From: imlonghao Date: Sun, 23 Jan 2022 17:46:22 +0800 Subject: [PATCH] ci: sync to github --- .drone.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.drone.yml b/.drone.yml index d076f84..2589e92 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,10 +3,25 @@ kind: pipeline type: docker name: build steps: +- name: sync to github + image: appleboy/drone-git-push + settings: + remote: git@github.com:imlonghao/archlinuxcn-packages.git + remote_name: github + branch: master + local_ref: master + ssh_key: + from_secret: GITHUB_DEPLOY_SSH_KEY + when: + branch: + - master - name: test image: rust:1.58.1 commands: - cargo test + when: + branch: + - master --- kind: pipeline type: docker