Skip to content

Commit

Permalink
Update build.gradle: add java toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
LUCETE012 committed Oct 5, 2024
2 parents 81b37c2 + 0c3ae2f commit 9ce0fdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
with:
host: ${{ secrets.EC2_HOST }}
username: ec2-user
key: ${{ secrets.SSH_PRIVATE_KEY }} # SSH 접근을 위한 개인 키
key: ${{ secrets.EC2_KEY }} # SSH 접근을 위한 개인 키
script: |
sudo pkill -f 'java -jar' || true # 기존 Java 프로세스 종료
sudo rm -rf /home/ec2-user/app/* # 이전 빌드 파일 삭제
Expand Down

0 comments on commit 9ce0fdf

Please sign in to comment.