From b3a3cd6da6dccc6b4cab8b783b20f487f084d3f2 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Fri, 17 Nov 2023 10:56:39 -0500 Subject: [PATCH] re-add commit; add branch condition --- .drone.yml | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7b26df5..5d9da74 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,20 +25,23 @@ steps: - push - # - name: push commit - # image: appleboy/drone-git-push - # settings: - # branch: testing - # remote: gitea@10.10.10.109:chris/drone-test-1.git - # force: false - # commit: true - # empty_commit: true - # commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7}" - # author_name: "Drone CI" - # author_email: "chris@thezengarden.net" - # skip_verify: true - # ssh_key: - # from_secret: gitea_ssh_privkey + - name: Update repo with build stats + image: appleboy/drone-git-push + settings: + branch: testing + remote: gitea@10.10.10.109:chris/drone-test-1.git + force: false + commit: true + empty_commit: true + commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7}" + author_name: "Drone CI" + author_email: "chris@thezengarden.net" + skip_verify: true + ssh_key: + from_secret: gitea_ssh_privkey + when: + branch: + - development # ---