From 187af36a64ef8eddc0d88ea7601cae12812e5bc1 Mon Sep 17 00:00:00 2001 From: miigotu Date: Tue, 17 Oct 2023 23:28:47 -0400 Subject: [PATCH] Update pythonpackage.yml --- .github/workflows/pythonpackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index ccd3ab6abe..c8d09bec31 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -187,7 +187,7 @@ jobs: echo "Checking if container is alive..." [ $(curl http://localhost:8081/ui/get_messages -s) == "{}" ] && echo "Success!" || (echo "Failed" && exit 1) echo "Checking if we have a working home page..." - curl http://localhost:8081/home/ -s | grep -q "site-notification-modal" && echo "Success!" || (echo "Failed" && exit 1) + $(curl http://localhost:8081/home/ -s | grep -q "site-notification-modal") && echo "Success!" || (echo "Failed" && exit 1) echo "Stopping and removing container..." docker stop ${{ env.DOCKER_CONTAINER_NAME }} Deploy: