Skip to content

[Fix] - deploy.sh 진단 정보 수집 + Nginx 복구 #20

[Fix] - deploy.sh 진단 정보 수집 + Nginx 복구

[Fix] - deploy.sh 진단 정보 수집 + Nginx 복구 #20

Workflow file for this run

name: RUNNECT PROD CI
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: make application.properties 파일 생성
run: |
## create application.yml
mkdir ./src/main/resources
cd ./src/main/resources
# application.yml 파일 생성
touch ./application.yml
# GitHub-Actions 에서 설정한 값을 application.yml 파일에 쓰기
echo "${{ secrets.RUNNECT_PROD_APPLICATION }}" >> ./application.yml
# application.yml 파일 확인
cat ./application.yml
shell: bash
# 이 워크플로우는 gradle build
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle # 실제 application build
run: ./gradlew build