added drone pipeline to push to github

This commit is contained in:
BroodjeAap 2022-12-10 14:57:30 +00:00
parent 0b961718b8
commit 8103c88c8a

View file

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