From aaf1081e648fe7221d8d3e06c5291e4de4b85da4 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 18 Oct 2023 21:26:06 +0100 Subject: [PATCH] . --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6c3b369..f5a3313 100644 --- a/.drone.yml +++ b/.drone.yml @@ -50,7 +50,7 @@ steps: - master image: alpine/git:latest commands: - - git config credential.helper '!f() { sleep 1; echo "username=${GIT_USER}"; echo "password=${GIT_PASSWORD}"; }; f' + - git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f' - git fetch - git checkout -b deployed - git merge master @@ -101,7 +101,7 @@ steps: - git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f' - git add -A - git commit -m '$${DRONE_COMMIT_MESSAGE}' - - git push origin + - git push origin --set-upstream $$(git symbolic-ref --short HEAD) environment: GIT_PASSWORD: from_secret: GIT_PASSWORD