Skip to content

[ENV] Code deploy 설정 파일 수정 #89

[ENV] Code deploy 설정 파일 수정

[ENV] Code deploy 설정 파일 수정 #89

Workflow file for this run

name: Tattour-Server-Prod CI
on:
pull_request:
branches: [ "main", "production" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
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: |
#mkdir ./server/src/main/resources
cd ./server/src/main/resources
touch ./application.yaml
echo "${{ secrets.TATTOUR_PROD_APPLICATION }}" >> ./application.yaml
cat ./application.yaml
shell: bash
- name: Grant execute permission for gradlew
run: chmod +x ./server/gradlew
- name: Build with Gradle
run: |
cd ./server
./gradlew build -x test