Skip to content

Commit

Permalink
Update petstoreassistant_ci_cd_to_appservice.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl authored Oct 25, 2023
1 parent cedeafd commit e121be6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/petstoreassistant_ci_cd_to_appservice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- name: Update the application.properties hack because the app config injection isnt working for some reason
run: echo -n -e "MicrosoftAppId=${{ secrets.ASSISTANTAPPID }}\nMicrosoftAppPassword=${{ secrets.ASSISTANTAPPPASSWORD }}\nserver.port=3978\naoai.key=${{ secrets.ASSISTANT_AOAI_KEY }}" > petstore/petstoreassistant/src/main/resources/application.properties
- run: cat petstore/petstoreassistant/src/main/resources/application.properties
- name: Update the azurepetstoredataCompletionRequestBody.txt hack because the app config injection isnt working for some reason
run: sed -i 's/REPLACE/${{ secrets.ASSISTANT_CS_KEY }}/g' petstore/petstoreassistant/src/main/resources/json/aoairequests/azurepetstoredataCompletionRequestBody.txt
- run: cat petstore/petstoreassistant/src/main/resources/json/aoairequests/azurepetstoredataCompletionRequestBody.txt
- uses: azure/docker-login@v1
name: Build Docker image
with:
Expand Down

0 comments on commit e121be6

Please sign in to comment.