Skip to content

Commit 1f7d418

Browse files
committedSep 13, 2024
Update GHA workflow
1 parent 85529e4 commit 1f7d418

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎.github/workflows/azure-dev.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}
2626
AZURE_OPENAI_KEYS: ${{ secrets.AZURE_OPENAI_KEYS }}
2727
AZURE_KEYVAULT_URI: ${{ secrets.AZURE_KEYVAULT_URI }}
28-
AZURE_KEYVAULT_SECRET_NAME: ${{ vars.AZURE_KEYVAULT_SECRET_NAME }}
28+
AZURE_KEYVAULT_SECRET_NAME_OPENAI: ${{ vars.AZURE_KEYVAULT_SECRET_NAME_OPENAI }}
29+
AZURE_KEYVAULT_SECRET_NAME_STORAGE: ${{ vars.AZURE_KEYVAULT_SECRET_NAME_STORAGE }}
2930

3031
steps:
3132
- name: Checkout
@@ -54,7 +55,8 @@ jobs:
5455
$appsettings = Get-Content -Path "./src/AzureOpenAIProxy.ApiApp/appsettings.json" -Raw | ConvertFrom-Json
5556
$appsettings.Azure.OpenAI.Instances = @()
5657
$appsettings.Azure.KeyVault.VaultUri = "${{ env.AZURE_KEYVAULT_URI }}"
57-
$appsettings.Azure.KeyVault.SecretName = "${{ env.AZURE_KEYVAULT_SECRET_NAME }}"
58+
$appsettings.Azure.KeyVault.SecretNames.OpenAI = "${{ env.AZURE_KEYVAULT_SECRET_NAME_OPENAI }}"
59+
$appsettings.Azure.KeyVault.SecretNames.Storage = "${{ env.AZURE_KEYVAULT_SECRET_NAME_STORAGE }}"
5860
$appsettings | ConvertTo-Json -Depth 100 | Set-Content -Path "./src/AzureOpenAIProxy.ApiApp/appsettings.json" -Encoding UTF8 -Force
5961
6062
- name: Install Spectral Cli

0 commit comments

Comments
 (0)
Please sign in to comment.