Skip to content

feat - CI / CD 세팅과 배포 테스트 #1

feat - CI / CD 세팅과 배포 테스트

feat - CI / CD 세팅과 배포 테스트 #1

Workflow file for this run

name: 🏭 APPLICATION-BUILD!
on:
pull_request:
branches: [ "develop" ]
push:
branches: [ "develop" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- name: Copy application.yml
run: |
mkdir ./src/main/resources
touch ./src/main/resources/application.yml
echo "${{ secrets.APPLICATION_YML }}" >> ./src/main/resources/application.yaml
cat ./src/main/resources/application.yaml
shell: bash
- name: Grant execute permission for gradlew
run: |
chmod +x gradlew
- name: Build with Gradle
run: |
./gradlew build -x test