Skip to content

[Deploy] v.1.1.1 운영서버 배포 #11

[Deploy] v.1.1.1 운영서버 배포

[Deploy] v.1.1.1 운영서버 배포 #11

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