added drone pipeline to push to github
This commit is contained in:
parent
0b961718b8
commit
8103c88c8a
1 changed files with 20 additions and 2 deletions
22
.drone.yaml
22
.drone.yaml
|
@ -1,6 +1,6 @@
|
|||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: default
|
||||
name: test
|
||||
steps:
|
||||
- name: test
|
||||
image: golang
|
||||
|
@ -11,4 +11,22 @@ trigger:
|
|||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- push
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: github-push
|
||||
steps:
|
||||
- name: push commit
|
||||
image: appleboy/drone-git-push:0.2.0-linux-amd64
|
||||
settings:
|
||||
branch: master
|
||||
remote: git@github.com:broodjeaap/go-watch.git
|
||||
force: true
|
||||
ssh_key:
|
||||
from_secret: id_rsa
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
Loading…
Add table
Reference in a new issue