Skip to content

Commit

Permalink
update more VARS to make it happen again
Browse files Browse the repository at this point in the history
  • Loading branch information
spboyer committed Apr 29, 2024
1 parent 866fb2c commit 2103ce5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 2103ce5

Please sign in to comment.