Skip to content

Commit

Permalink
Merge pull request #23 from Korea-Certified-Store/hotfix/add-test-ci-…
Browse files Browse the repository at this point in the history
…property(#21)

feat : GOOGLE API KEY 추가
  • Loading branch information
jinhoon227 authored Jan 7, 2024
2 parents c5876fb + e9b93bc commit 0652964
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/action-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,13 @@ jobs:
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
OCCUPY_SECRET_TEST_DIR: ./src/test/resources # 레포지토리 내 빈 env.yml의 위치 (test)
OCCUPY_SECRET_DIR_FILE_NAME: env.yml # 파일 이름
OCCUPY_SECRET_DIR: ./src/main/resources # 레포지토리 내 빈 env.yml의 위치 (main)
OCCUPY_SECRET_DIR_FILE_NAME: env.yml # 파일 이름

# base64 디코딩하여 파일에 secrets 값 복사
run: echo $OCCUPY_SECRET | base64 --decode > $OCCUPY_SECRET_TEST_DIR/$OCCUPY_SECRET_DIR_FILE_NAME
run: echo $OCCUPY_SECRET | base64 --decode > $OCCUPY_SECRET_DIR/$OCCUPY_SECRET_DIR_FILE_NAME &&
echo $OCCUPY_SECRET | base64 --decode > $OCCUPY_SECRET_TEST_DIR/$OCCUPY_SECRET_DIR_FILE_NAME


# github action 에서 Gradle dependency 캐시 사용
- name: Cache Gradle packages
Expand Down

0 comments on commit 0652964

Please sign in to comment.