added drone config to update github mirror

This commit is contained in:
konrad 2018-11-28 21:04:17 +01:00
parent 136adb69c8
commit d5e4195ee7
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -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 ]