added drone config to update github mirror
This commit is contained in:
parent
136adb69c8
commit
d5e4195ee7
1 changed files with 14 additions and 1 deletions
15
.drone.yml
15
.drone.yml
|
@ -163,4 +163,17 @@ pipeline:
|
||||||
{{repo.owner}}/{{repo.name}}: \[{{build.status}}] Build {{build.number}}
|
{{repo.owner}}/{{repo.name}}: \[{{build.status}}] Build {{build.number}}
|
||||||
{{commit.author}} pushed to {{commit.branch}} {{commit.sha}}: `{{commit.message}}`
|
{{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"}}.
|
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 ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue