Skip to content

[Infra] 무중단 배포 자동화 환경 구축 (Docker) #2

[Infra] 무중단 배포 자동화 환경 구축 (Docker)

[Infra] 무중단 배포 자동화 환경 구축 (Docker) #2

Workflow file for this run

name: Continuous Integration for SOPT makers Authentication Project
on:
pull_request:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: ⚙️ Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 21
distribution: 'corretto'
cache: gradle
- name: 🤝 Grant execute permission for gradlew
run: chmod +x ./gradlew
shell: bash
- name: 🔑 Create Application Property File
run: |
touch ./gradle.properties
touch ./src/main/resources/application.properties
echo "${{ secrets.PROPERTY_GRADLE }}" >> ./gradle.properties
echo "${{ secrets.PROPERTY_APPLICATION }}" >> ./src/main/resources/application.properties
- name: 🧱 Build with Gradle
run: ./gradlew clean build
shell: bash