From 2103ce50ea89269950128efad0e615a129d54c0f Mon Sep 17 00:00:00 2001 From: Shayne Boyer Date: Mon, 29 Apr 2024 17:07:24 -0400 Subject: [PATCH] update more VARS to make it happen again --- .github/workflows/azure-dev.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index 3277149..20b6d1e 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -22,6 +22,7 @@ jobs: AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }} AZURE_LOCATION: ${{ vars.AZURE_LOCATION }} + AZURE_OPENAI: Endpoint=${{ vars.OPEN_ENDPOINT }};Key=${{ secrets.OPENKEY }} steps: - name: Checkout @@ -55,18 +56,17 @@ jobs: shell: pwsh - name: Set azd ENV - run: azd env set OPENAI_CONNECTIONSTRING ${{ AZURE_OPENAI }} - env: - AZURE_OPENAI: Endpoint=${{ vars.OPEN_ENDPOINT }};Key=${{ secrets.OPENKEY }} + run: azd env set OPENAI_CONNECTIONSTRING ${{ env.AZURE_OPENAI }} + - name: Provision Infrastructure run: azd provision --no-prompt env: #AZD_INITIAL_ENVIRONMENT_CONFIG: ${{ secrets.AZD_INITIAL_ENVIRONMENT_CONFIG }} #AZURE_OPENAI: Endpoint=${{ vars.OPEN_ENDPOINT }};Key=${{ secrets.OPENKEY }} - ConnectionStrings__OpenAi: ${{ AZURE_OPENAI }} + ConnectionStrings__OpenAi: ${{ env.AZURE_OPENAI }} - name: Deploy Application run: | - azd env set OPENAI_CONNECTIONSTRING ${{ vars.AZURE_ENV_NAME }} + azd env set OPENAI_CONNECTIONSTRING ${{ env.AZURE_ENV_NAME }} azd deploy --no-prompt \ No newline at end of file