Skip to content

[Deploy] 운영서버 v1.0.1 배포 #4

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

[Deploy] 운영서버 v1.0.1 배포 #4

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