[deploy] 콕찌르기 시 불필요한 예외 처리 방지 prod 배포 #9
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 Prod App CI | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| 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-prod.yml | |
| touch ./src/test/resources/application-test.yml | |
| echo "${{ secrets.APPLICATION_PROD_YML }}" >> ./src/main/resources/application-prod.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 |