Skip to content

Commit

Permalink
update pipeline snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
waelABDALLAH1 committed Dec 23, 2024
1 parent b272719 commit 9c94059
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified .github/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions .github/workflows/mailing-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ jobs:
echo "Starting Spring Boot service..."
cd ~/mailing-service
nohup java -jar service-mailing.jar --server.port=8091 > service-mailing.log 2>&1 &
nohup java -jar service-mailing.jar --server.port=8081 > service-mailing.log 2>&1 &
echo "Spring Boot service deployed successfully!"
sleep 30
echo "Performing health check..."
curl -X 'GET' 'http://localhost:8091' -H 'accept: application/json' || (echo "Service health check failed!" && exit 1)
curl -X 'GET' 'http://localhost:8081' -H 'accept: application/json' || (echo "Service health check failed!" && exit 1)
echo "Service deployed and healthy!"
Expand Down

0 comments on commit 9c94059

Please sign in to comment.