Skip to content

Commit

Permalink
hotfix: fix workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoMeireles55 committed Jan 26, 2025
1 parent c98128a commit dab4fc2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@ jobs:
docker-compose up -d
- name: Notify deployment
run: echo "Deployment completed successfully"
- name: Running scripts
run: ./.github/scripts/cleanup_docker.sh
- name: Wait for server to be ready and healthy test
run: |
until curl -sSf http://localhost:${{ secrets.SERVER_LOCAL_PORT }}/actuator/health; do
echo "Waiting for server..."
sleep 5
done
done
- name: Set execute permission for cleanup script
run: chmod +x ./.github/scripts/cleanup_docker.sh
- name: Running scripts
run: ./.github/scripts/cleanup_docker.sh

0 comments on commit dab4fc2

Please sign in to comment.