Fixbug: 테스트 버그로 인한, 빌드 주석 변경 #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build React | |
run: | | |
git submodule update --init --recursive | |
- name: Install Java | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 17 | |
java-package: jdk | |
architecture: x64 | |
check-latest: false | |
server-id: github | |
server-username: GITHUB_ACTOR | |
server-password: GITHUB_TOKEN | |
overwrite-settings: true | |
job-status: success | |
distribution: adopt | |
- name: Build Project(without test) | |
run: ./gradlew clean build -x test | |
- name: Deploy Project | |
run: java -jar build/libs/rank-system-2.0.0-SNAPSHOT.jar |