[Fix] AWS Credential 시크릿에서 주입받아 배포하도록 수정 (#548) #36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 🏭 Makers Dev App CI | |
| on: | |
| pull_request: | |
| branches: [ "dev" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '21' | |
| distribution: 'corretto' | |
| - name: Copy yml | |
| run: | | |
| touch ./src/main/resources/application-dev.yml | |
| touch ./src/test/resources/application-test.yml | |
| echo "${{ secrets.APPLICATION_DEV_YML }}" >> ./src/main/resources/application-dev.yml | |
| echo "${{ secrets.APPLICATION_TEST_YML }}" >> ./src/test/resources/application-test.yml | |
| shell: bash | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew build |