Skip to content

Commit

Permalink
Update �deploy.yml
Browse files Browse the repository at this point in the history
SSH_SECRETE_KEy -> EC2_KEY
  • Loading branch information
LUCETE012 authored Oct 4, 2024
1 parent 6d7f128 commit 0c3ae2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
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 0c3ae2f

Please sign in to comment.