From d5e4195ee777e836776d504df0b735f8d1b56c3c Mon Sep 17 00:00:00 2001 From: konrad Date: Wed, 28 Nov 2018 21:04:17 +0100 Subject: [PATCH] added drone config to update github mirror --- .drone.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3b7ec13550..7c33439fdf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -163,4 +163,17 @@ pipeline: {{repo.owner}}/{{repo.name}}: \[{{build.status}}] Build {{build.number}} {{commit.author}} pushed to {{commit.branch}} {{commit.sha}}: `{{commit.message}}` Build started at {{datetime build.started "2006-Jan-02T15:04:05Z" "GMT+2"}} finished at {{datetime build.finished "2006-Jan-02T15:04:05Z" "GMT+2"}}. - + +# Update the mirror on github + github_mirror: + image: appleboy/drone-git-push + branch: master + remote: git@github.com:go-vikunja/api.git + remote_name: github + local_branch: master + followtags: true + force: false + commit: false + when: + event: [ push, tag ] + branch: [ master ]