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