From 537b8882f4eb4d74624463d4f2f42c17c3c97cab Mon Sep 17 00:00:00 2001 From: Peter Baumgartner Date: Fri, 9 Feb 2024 15:17:15 -0700 Subject: [PATCH] Capture logs on exit --- .github/workflows/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4e7582..489c41a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,3 +30,10 @@ jobs: - name: verify website running run: | curl -I --retry 10 --retry-connrefused --fail localhost:8000 + - name: dump docker logs + run: | + set -x + docker compose ps + docker compose logs + working-directory: testproj + if: always()