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 65e6b10 commit 1002367
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,24 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/checkout@v3
- run: mkdir -p ./src/main/resources
- run: touch ./src/main/resources/application.yml
- run: echo "${{ secrets.APPLICATION }}" > ./src/main/resources/application.yml
- run: cat ./src/main/resources/application.yml
- name: Create application.yml
run: |
mkdir -p ./src/main/resources
cat <<EOF > ./src/main/resources/application.yml
spring:
ai:
azure:
openai:
api-key: ${ { secrets.OPENAI_API_KEY } }
endpoint: ${ { secrets.OPENAI_ENDPOINT } }
chat:
options:
deployment-name: gpt-4o
image:
options:
deployment-name: dall-e-3
EOF
- uses: actions/checkout@v3
- name: Set up JDK 21
Expand Down

0 comments on commit 1002367

Please sign in to comment.