Skip to content

[DEPLOY] #574 - 환경 독립적이도록 deploy.sh 수정 #4

[DEPLOY] #574 - 환경 독립적이도록 deploy.sh 수정

[DEPLOY] #574 - 환경 독립적이도록 deploy.sh 수정 #4

Workflow file for this run

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