Skip to content

Commit

Permalink
Fix copy & paste
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Dec 4, 2024
1 parent 636d8e4 commit 4806f82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/check_deployment.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
output = `curl --verbose --silent http://localhost:3000/ 2>&1`
output = `curl --verbose --silent http://localhost:3000/statistics/application_status 2>&1`
if $?.success? && output.include?('FAIRDOM-SEEK is running | search is enabled | 7 delayed jobs running')
exit 0
else
puts "::group::Docker logs"
puts `docker compose --file docker-compose-prod.yml logs`
puts `docker compose --file docker-compose.yml --file docker-compose.build.yml logs`
puts "::endgroup::"
puts "::group::curl output"
puts output
Expand Down

0 comments on commit 4806f82

Please sign in to comment.