Skip to content

Commit

Permalink
Added parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
nerddtvg committed Aug 29, 2023
1 parent bc6f1bb commit 0a8a9a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,13 @@ jobs:
# Copy all files recursively from the current directory
# Escape with backtick the $web container name
Get-ChildItem -File -Recurse | ForEach-Object {
Get-ChildItem -File -Recurse | ForEach-Object -Parallel {
$contentType = $defaultType
if ($exts.ContainsKey($_.Extension)) {
$contentType = $exts[$_.Extension]
} else {
Write-Host "Missing contentType: $($_.Extension)"
Write-Warning "Missing contentType: $($_.Extension)"
}
# Because we've modified the pipeline, Set-AzStorageBlobContent no longer respects the relative path
Expand Down

0 comments on commit 0a8a9a8

Please sign in to comment.