From 16db7557fe17839d53c86cc164bd22111b57a007 Mon Sep 17 00:00:00 2001 From: Joe Workman Date: Mon, 2 Oct 2023 17:09:54 -0600 Subject: [PATCH] CI gitConfig --- PowerShell/Deploy/Get-Config.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PowerShell/Deploy/Get-Config.ps1 b/PowerShell/Deploy/Get-Config.ps1 index 3a9f45dd7..9a0d13002 100644 --- a/PowerShell/Deploy/Get-Config.ps1 +++ b/PowerShell/Deploy/Get-Config.ps1 @@ -16,6 +16,10 @@ param ( $ScriptRoot = $MyInvocation.MyCommand.Path write-host $ScriptRoot # break +If ($env:CI) { + $ScriptRoot = $ScriptRoot -replace "/support/support", "support" + write-host $ScriptRoot +} $FolderPath_ModuleRootPath = (Get-Item -Path:($ScriptRoot)).Directory.parent.FullName $GitHubWikiUrl = 'https://github.com/TheJumpCloud/support/wiki/'