Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Oct 26, 2023
2 parents ac5647f + 888aa4e commit a30fece
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/petstoreassistant_ci_cd_to_appservice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- 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: echo -n -e "MicrosoftAppId=${{ secrets.ASSISTANTAPPID }}\nMicrosoftAppPassword=${{ secrets.ASSISTANTAPPPASSWORD }}\nserver.port=3978\naoai.key=${{ secrets.ASSISTANT_AOAI_KEY }}\n=cognitive.search.key${{ secrets.ASSISTANT_CS_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 a30fece

Please sign in to comment.