Skip to content

Commit

Permalink
Merge branch 'hotfix/add-test-ci-property(#21)' of https://github.com…
Browse files Browse the repository at this point in the history
  • Loading branch information
sungjindev committed Jan 7, 2024
2 parents 76c4737 + e9b93bc commit ffd5d9a
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 ffd5d9a

Please sign in to comment.