Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Update azure-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yeseong0412 authored Aug 26, 2024
1 parent 8cedb0c commit b38ca77
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,22 @@ jobs:
uses: actions/checkout@v4

- name: Inject Secrets into YAML
run: echo "${{ secrets.APPLICATION }}" > server/src/main/resources/application.yml
cat server/src/main/resources/application.yml
run: |
echo "spring:
ai:
azure:
openai:
api-key: ${AZURE_OPENAI_API_KEY}
endpoint: ${AZURE_OPENAI_ENDPOINT}
chat:
options:
deployment-name: gpt-4o
image:
options:
deployment-name: dall-e-3" > server/src/main/resources/application.yml
env:
AZURE_OPENAI_API_KEY: ${{ secrets.KET }}
AZURE_OPENAI_ENDPOINT: ${{ secrets.ENDPOINT }}



Expand Down

0 comments on commit b38ca77

Please sign in to comment.