[release] v1.2.3 릴리즈 #9
This file contains 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: Production Server CI | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: ✔️ checkout | |
uses: actions/checkout@v3 | |
- name: ✔️ set JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
- name: ✔️ create application.yml | |
run: | | |
cd ./doorip-api/src/main/resources | |
touch ./application.yml | |
echo "APPLICATION_PROD" > ./application.yml | |
env: | |
APPLICATION_PROD: ${{ secrets.APPLICATION_PROD }} | |
- name: ✔️ give executive authority to gradlew | |
run: chmod +x gradlew | |
- name: ✔️ build gradlew | |
run: ./gradlew doorip-api:build -x test |