Skip to content

[Deploy] v1.1.2 운영서버 배포 #12

[Deploy] v1.1.2 운영서버 배포

[Deploy] v1.1.2 운영서버 배포 #12

Workflow file for this run

name: prod-CI
on:
pull_request:
branches: [ "main" ]
jobs:
prod-build-TEST:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
- name: application.yml 작성
run: |
cd moonshot-api/src/main/resources
echo "${{ secrets.APPLICATION }}" > ./application-prod.yml
echo "${{ secrets.DATA }}" > ./data.sql
- name: build
run: |
chmod +x gradlew
./gradlew moonshot-api:build -x test
shell: bash