Skip to content

Commit

Permalink
replace
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Jun 5, 2024
1 parent ff71d9d commit 0afab8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Actions/Deliver/Deliver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ try {
if (!($storageAccountCredentials.PSObject.Properties.Name -eq 'ErrorAction')) {
$storageAccountCredentials | Add-Member -MemberType NoteProperty -Name 'ErrorAction' -Value 'Warning'
}
$storageContainerName = $storageAccountCredentials.containerName
$storageBlobName = $storageAccountCredentials.blobName
$storageContainerName = $storageAccountCredentials.ContainerName.ToLowerInvariant().replace('{project}',$projectName).replace('{branch}',$refname).ToLowerInvariant()
$storageBlobName = $storageAccountCredentials.BlobName.ToLowerInvariant()
}
catch {
throw "StorageContext secret is malformed. Needs to be formatted as Json, containing StorageAccountName, containerName, blobName.`nError was: $($_.Exception.Message)"
Expand Down

0 comments on commit 0afab8c

Please sign in to comment.