[deploy] - 콕찌르기/Platform 연동 안정화 & Slack 로깅 예외 방지 prod 배포 #8
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 |