From 8103c88c8a3b79fba34800618de949923dc92cf4 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Sat, 10 Dec 2022 14:57:30 +0000 Subject: [PATCH] added drone pipeline to push to github --- .drone.yaml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.drone.yaml b/.drone.yaml index 73674ae..cf35ce8 100644 --- a/.drone.yaml +++ b/.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 \ No newline at end of file + - 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 \ No newline at end of file