From 1ee9923633a87b8ef34bdccec3a61719c0d9ef08 Mon Sep 17 00:00:00 2001 From: Brandon Davis Date: Wed, 25 Sep 2024 18:34:23 -0500 Subject: [PATCH] Throwing at the wall --- .drone.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 81d4abb..1c29da8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,11 +23,12 @@ steps: from_secret: GITHUB_TOKEN commands: - env - - git config --global user.name 'drone-ci[bot]' - - git config --global user.email 'drone-ci[bot]@users.noreply.github.com' + - git config --global user.name $GIT_COMMITTER_NAME + - git config --global user.email $GIT_AUTHOR_EMAIL - git add . - git commit -m "automated daily generation routine" - - git push "https://${GITHUB_TOKEN}@github.com/subdavis/open-journal-mpls.git" + - git remote add origin "https://${GITHUB_TOKEN}@github.com/subdavis/open-journal-mpls.git" + - git push -u origin main trigger: event: