From 908c281a4708a735d98daece5d2b7c5f711b0e35 Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Wed, 4 Aug 2021 14:54:51 +0200 Subject: [PATCH] increase sleeptime, use curl --- .github/workflows/ccdocker_demo_startup.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ccdocker_demo_startup.yml b/.github/workflows/ccdocker_demo_startup.yml index f146841..3e38027 100644 --- a/.github/workflows/ccdocker_demo_startup.yml +++ b/.github/workflows/ccdocker_demo_startup.yml @@ -26,8 +26,8 @@ jobs: - name: Run containers run: docker-compose -f "docker-compose.yml" up -d - - name: Giving containers 30s to load - run: sleep 30s + - name: Giving containers 60s to load + run: sleep 60s - name: Show containers run: docker ps -a @@ -44,8 +44,8 @@ jobs: - name: Get log from cc-php run: docker logs cc-php - - name: Get log from symfony - run: docker exec cc-php tail var/log/prod.log + - name: Try to get response from localhost:90/login + run: curl -X GET localhost:80/login - name: Stop containers if: always()