Skip to content

Commit

Permalink
ci: CI/CD 구축중
Browse files Browse the repository at this point in the history
  • Loading branch information
CEO-Nick committed Apr 5, 2024
1 parent 719d702 commit 54b81c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
scp -i ec2_ssh_key -o StrictHostKeyChecking=no build/libs/linkeepServer-0.0.1-SNAPSHOT.jar ${EC2_USER}@${EC2_HOST}:/home/${EC2_USER}/linkeep-server
# 인스턴스에서 JAR 파일 실행
ssh -i ec2_ssh_key -o StrictHostKeyChecking=no ${EC2_USER}@${EC2_HOST} "pgrep java | xargs kill -9; nohup java -jar /home/${EC2_USER}/linkeep-server/linkeep-server-0.0.1-SNAPSHOT.jar > /home/${EC2_USER}/linkeep-server/log/app.log 2>&1 &"
ssh -i ec2_ssh_key -o StrictHostKeyChecking=no ${EC2_USER}@${EC2_HOST} "pgrep java | xargs kill -9; nohup java -jar /home/${EC2_USER}/linkeep-server/linkeepServer-0.0.1-SNAPSHOT.jar > /home/${EC2_USER}/linkeep-server/log/app.log 2>&1 &"
# java -jar /home/${EC2_USER}/linkeep-server/linkeepServer-0.0.1-SNAPSHOT.jar
# # EC2 인스턴스에서 배포 스크립트 실행
Expand Down

0 comments on commit 54b81c2

Please sign in to comment.