From e3234be4ae76676bea7ebf904ecc4756b7b6c344 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 18 Oct 2023 21:56:26 +0100 Subject: [PATCH] . --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 116ea0f..0080bb7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -68,7 +68,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 -f origin deployed + - git push -f origin HEAD:deployed environment: GIT_PASSWORD: from_secret: GIT_PASSWORD @@ -83,7 +83,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 -f origin product-development + - git push -f origin HEAD:product-development environment: GIT_PASSWORD: from_secret: GIT_PASSWORD