diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index 768dbb3a8634b..28ed12835cfad 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -4,7 +4,6 @@ $LanguageDisplayName = ".NET" $PackageRepository = "Nuget" $packagePattern = "*.nupkg" $MetadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/main/_data/releases/latest/dotnet-packages.csv" -$BlobStorageUrl = "https://azuresdkdocs.blob.core.windows.net/%24web?restype=container&comp=list&prefix=dotnet%2F&delimiter=%2F" $GithubUri = "https://github.com/Azure/azure-sdk-for-net" $PackageRepositoryUri = "https://www.nuget.org/packages" @@ -187,7 +186,13 @@ function Get-dotnet-GithubIoDocIndex() # Fetch out all package metadata from csv file. $metadata = Get-CSVMetadata -MetadataUri $MetadataUri # Get the artifacts name from blob storage - $artifacts = Get-BlobStorage-Artifacts -blobStorageUrl $BlobStorageUrl -blobDirectoryRegex "^dotnet/(.*)/$" -blobArtifactsReplacement '$1' + $artifacts = Get-BlobStorage-Artifacts ` + -blobDirectoryRegex "^dotnet/(.*)/$" ` + -blobArtifactsReplacement '$1' ` + -storageAccountName 'azuresdkdocs' ` + -storageContainerName '$web' ` + -storagePrefix 'dotnet/' + # Build up the artifact to service name mapping for GithubIo toc. $tocContent = Get-TocMapping -metadata $metadata -artifacts $artifacts # Generate yml/md toc files and build site.