Skip to content

Commit

Permalink
Update main_milligram.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nour-bouzid authored Mar 12, 2024
1 parent 09e61d4 commit 622ddc1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main_milligram.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,20 @@ jobs:
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_7E66CF85FB4F49B9AF8D44F4D2189394 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_3FD3055FE1E946D6933897724D80B045 }}

- uses: azure/appservice-settings@v1
with:
app-name: 'milligram'
slot-name: 'Production' # Optional and needed only if the settings have to be configured on the specific deployment slot
app-settings-json: '[{ "name": "CHAT_API_KEY", "value": ${{ secrets.CHAT_API_KEY }}, "slotSetting": false }, { "name": "CHAT_API_ENDPOINT", "value": ${{ secrets.CHAT_API_ENDPOINT }}, "slotSetting": false }, { "name": "AZURE_OPENAI_MODEL_NAME", "value": ${{ secrets.AZURE_OPENAI_MODEL_NAME }}, "slotSetting": false }]'
id: settings

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
with:
app-name: 'milligram'
slot-name: 'Production'




0 comments on commit 622ddc1

Please sign in to comment.