From aff3883c6949c9061ea8bd075fecfa7729aec420 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 17 Oct 2022 14:24:56 +0200 Subject: [PATCH] Possible fix for workflows --- .github/workflows/Docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Docker.yml b/.github/workflows/Docker.yml index 56d9b70..2df7451 100644 --- a/.github/workflows/Docker.yml +++ b/.github/workflows/Docker.yml @@ -129,11 +129,11 @@ jobs: - name: Wait for apache to start timeout-minutes: 5 - run: while ! `curl -v -o /dev/null http://localhost:8080`; do printf 'Waiting for Apache...\n'; sleep 2; done; + run: while ! `docker exec -w /var/www/eramba/app/upgrade -u www-data eramba curl -v -o /dev/null http://localhost:80`; do printf 'Waiting for Apache...\n'; sleep 2; done; - name: HTTP Check run: | - if curl -w '%{http_code}\n' -o /dev/null --silent http://localhost:8080/settings/test-public-address | grep 204; then + if curl -w '%{http_code}\n' -o /dev/null --silent --insecure https://localhost:8443/settings/test-public-address | grep 204; then exit 0 else exit 1