Skip to content

Commit

Permalink
Fix: Allow git config failures
Browse files Browse the repository at this point in the history
Signed-off-by: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com>
  • Loading branch information
LmeSzinc committed Mar 28, 2023
1 parent aeec13c commit 5d88c89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def git_repository_init(
self.execute(f'"{self.git}" config --local --unset https.proxy', allow_failure=True)

if ssl_verify:
self.execute(f'"{self.git}" config --local http.sslVerify true')
self.execute(f'"{self.git}" config --local http.sslVerify true', allow_failure=True)
else:
self.execute(f'"{self.git}" config --local http.sslVerify false')
self.execute(f'"{self.git}" config --local http.sslVerify false', allow_failure=True)

logger.hr('Set Git Repository', 1)
if not self.execute(f'"{self.git}" remote set-url {source} {repo}', allow_failure=True):
Expand Down

0 comments on commit 5d88c89

Please sign in to comment.