From e11edb3fcc8bacd3e13f3fdf09f883059354093a Mon Sep 17 00:00:00 2001 From: "Christian M. Adams" Date: Wed, 17 May 2023 14:33:22 -0400 Subject: [PATCH] Fix helm release push with HTTPS --- ansible/helm-release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/helm-release.yml b/ansible/helm-release.yml index 685b4c55..dfc1ce1a 100644 --- a/ansible/helm-release.yml +++ b/ansible/helm-release.yml @@ -93,6 +93,13 @@ args: chdir: "{{ playbook_dir }}/.." + - name: Set url base swap in gitconfig + command: + cmd: "git config --global url.https://{{ gh_user }}:{{ gh_token }}@github.com/.insteadOf https://github.com/" + args: + chdir: "{{ temp_dir.path }}/" + no_log: true + - name: Stage and Push commit to gh-pages branch command: cmd: "{{ item }}"