Skip to content

Commit

Permalink
Fix helm release push with HTTPS (#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
rooftopcellist authored May 17, 2023
1 parent a62487b commit 72bf569
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 72bf569

Please sign in to comment.