Skip to content

Commit

Permalink
ci: update deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
daeun084 authored Nov 17, 2024
1 parent f918e02 commit 2f1be02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:

- name: nlp.json 파일 생성
run: |
echo "${{ secrets.GCP_CREDENTIALS_JSON }}" | base64 -d > nlp.json
touch ./src/main/resources/nlp.json
echo "${{ secrets.GCP_CREDENTIALS_JSON }}" | base64 -d > ./src/main/resources/nlp.json
- name: 행동 요령 제안 프롬프트 생성
run: |
Expand Down Expand Up @@ -60,7 +61,6 @@ jobs:
-e JWT_REFRESH_TOKEN_EXPIRE=${{ secrets.JWT_REFRESH_TOKEN_EXPIRE }} \
-e OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} \
-e OPENAI_MODEL=${{ secrets.OPENAI_MODEL }} \
-e GCP_CREDENTIALS_LOCATION="/app/nlp.json" \
-v $(pwd)/nlp.json:/app/nlp.json \
-e GCP_CREDENTIALS_LOCATION="classpath:nlp.json" \
${{ secrets.DOCKER_USERNAME }}/learnmate:latest
EOF

0 comments on commit 2f1be02

Please sign in to comment.