diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4def9d1..829107c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -5,6 +5,8 @@ on: branches: [ "main" ] pull_request: branches: [ "main" ] + paths: + - '**/application*.yml' env: AWS_REGION: ap-northeast-2 @@ -27,6 +29,11 @@ jobs: #JDK 17 설정 java-version: '17' distribution: 'corretto' + #yml 파일 + - name: Set yml + run: mkdir -p src/main/resources + echo "${{ secrets.APPLICATION_YML }}" | base64 --decode > src/main/resources/application-db.yml + find src #gradlew 파일에 실행 권한 부여 - name: Grant execute permission to gradlew run: chmod +x ./gradlew