Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
update jarfile name
  • Loading branch information
wwingyou authored Jan 11, 2025
1 parent 576e1fd commit 4772c55
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 @@ -54,6 +54,6 @@ jobs:
ssh -i ec2_key.pem -o StrictHostKeyChecking=no \
$EC2_USER@$EC2_HOST << EOF
pkill -f api-0.0.1-SNAPSHOT.jar || true
nohup java -jar /home/$EC2_USER/your-application.jar > app.log 2>&1 &
nohup java -jar /home/$EC2_USER/api-0.0.1-SNAPSHOT.jar > app.log 2>&1 &
EOF

0 comments on commit 4772c55

Please sign in to comment.