File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 25
25
AZURE_LOCATION : ${{ vars.AZURE_LOCATION }}
26
26
AZURE_OPENAI_KEYS : ${{ secrets.AZURE_OPENAI_KEYS }}
27
27
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 }}
29
30
30
31
steps :
31
32
- name : Checkout
54
55
$appsettings = Get-Content -Path "./src/AzureOpenAIProxy.ApiApp/appsettings.json" -Raw | ConvertFrom-Json
55
56
$appsettings.Azure.OpenAI.Instances = @()
56
57
$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 }}"
58
60
$appsettings | ConvertTo-Json -Depth 100 | Set-Content -Path "./src/AzureOpenAIProxy.ApiApp/appsettings.json" -Encoding UTF8 -Force
59
61
60
62
- name : Install Spectral Cli
You can’t perform that action at this time.
0 commit comments