Skip to content

Commit

Permalink
quote vars for escaping characters
Browse files Browse the repository at this point in the history
  • Loading branch information
spboyer committed Apr 30, 2024
1 parent 9f914a3 commit 3625d16
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +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 }}
AZURE_OPENAI: "Endpoint=${{ vars.OPEN_ENDPOINT }};Key=${{ secrets.OPENKEY }}"

steps:
- name: Checkout
Expand Down Expand Up @@ -65,10 +65,9 @@ jobs:
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: ${{ env.AZURE_OPENAI }}
ConnectionStrings__OpenAi: "${{ env.AZURE_OPENAI }}"

- name: Deploy Application
run: |
azd env set OPENAI_CONNECTIONSTRING ${{ env.AZURE_OPENAI }}
azd env set OPENAI_CONNECTIONSTRING "${{ env.AZURE_OPENAI }}" --no-prompt
azd deploy --no-prompt

0 comments on commit 3625d16

Please sign in to comment.