Skip to content

Commit

Permalink
Merge pull request #402 from twenty-three-23/feature/TT-486
Browse files Browse the repository at this point in the history
TT-486
  • Loading branch information
ch8930 authored Nov 13, 2024
2 parents a511d66 + 0f67314 commit fd055a2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/cd_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
java-version: '17'
distribution: 'temurin'

- name: Set up GPT_PROMPT_SYSTEM environment variable decode
run: echo "GPT_PROMPT_SYSTEM=${{ secrets.GPT_PROMPT_SYSTEM }}" >> $GITHUB_ENV

- name: Set yaml file
uses: microsoft/variable-substitution@v1
with:
Expand All @@ -39,7 +42,7 @@ jobs:
logging.level.com.twentythree.peech: off
logging.config: classpath:spring-logback.xml
gpt.api.key: ${{secrets.GPT_API_KEY_PROD}}
gpt.prompt.system: ${{secrets.GPT_PROMPT_SYSTEM}}
gpt.prompt.system: ${{env.GPT_PROMPT_SYSTEM}}
jwt.secret.key: ${{secrets.JWT_SECRET_KEY_PROD}}
jwt.access.key: ${{secrets.JWT_ACCESS_KEY}}
jwt.refresh.key: ${{secrets.JWT_REFRESH_KEY}}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
java-version: '17'
distribution: 'temurin'

- name: Set up GPT_PROMPT_SYSTEM environment variable decode
run: echo "GPT_PROMPT_SYSTEM=${{ secrets.GPT_PROMPT_SYSTEM }}" >> $GITHUB_ENV

- name: Set yaml file
uses: microsoft/variable-substitution@v1
with:
Expand All @@ -39,7 +42,7 @@ jobs:
logging.level.com.twentythree.peech: off
logging.config: classpath:spring-logback.xml
gpt.api.key: ${{secrets.GPT_API_KEY_PROD}}
gpt.prompt.system: ${{secrets.GPT_PROMPT_SYSTEM}}
gpt.prompt.system: ${{env.GPT_PROMPT_SYSTEM}}
jwt.secret.key: ${{secrets.JWT_SECRET_KEY_PROD}}
jwt.access.key: ${{secrets.JWT_ACCESS_KEY}}
jwt.refresh.key: ${{secrets.JWT_REFRESH_KEY}}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/cicd_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'


- name: Set up GPT_PROMPT_SYSTEM environment variable decode
run: echo "GPT_PROMPT_SYSTEM=${{ secrets.GPT_PROMPT_SYSTEM }}" >> $GITHUB_ENV

- name: Set yaml file
uses: microsoft/variable-substitution@v1
with:
Expand All @@ -40,7 +43,7 @@ jobs:
logging.level.com.twentythree.peech: off
logging.config: classpath:spring-logback.xml
gpt.api.key: ${{secrets.GPT_API_KEY}}
gpt.prompt.system: ${{secrets.GPT_PROMPT_SYSTEM}}
gpt.prompt.system: ${{env.GPT_PROMPT_SYSTEM}}
jwt.secret.key: ${{secrets.JWT_SECRET_KEY}}
jwt.access.key: ${{secrets.JWT_ACCESS_KEY}}
jwt.refresh.key: ${{secrets.JWT_REFRESH_KEY}}
Expand Down

0 comments on commit fd055a2

Please sign in to comment.