Skip to content

Commit

Permalink
Update GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
justinyoo committed Nov 27, 2023
1 parent 41e257a commit df73d59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ jobs:
$openAI = @{ Endpoint = $endpoint; ApiKey = $apiKey; DeploymentId = $deploymentId; }
Copy-Item -Path ./AspireYouTubeSummariser.AppHost/appsettings.Development.sample.json `
-Destination ./AspireYouTubeSummariser.AppHost/appsettings.Development.json -Force
# Copy-Item -Path ./AspireYouTubeSummariser.AppHost/appsettings.Development.sample.json `
# -Destination ./AspireYouTubeSummariser.AppHost/appsettings.Development.json -Force
$appsettings = Get-Content -Path ./AspireYouTubeSummariser.AppHost/appsettings.Development.json | ConvertFrom-Json
$appsettings = Get-Content -Path ./AspireYouTubeSummariser.AppHost/appsettings.json | ConvertFrom-Json
$appsettings.OpenAI = $openAI
$appsettings | ConvertTo-Json -Depth 100 | Out-File -Path ./AspireYouTubeSummariser.AppHost/appsettings.Development.json -Force
$appsettings | ConvertTo-Json -Depth 100 | Out-File -Path ./AspireYouTubeSummariser.AppHost/appsettings.json -Force
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
Expand Down

0 comments on commit df73d59

Please sign in to comment.