From a4f700de3ce50949c193c96a4787d79e65afa552 Mon Sep 17 00:00:00 2001 From: Trey Hayden <33755714+vbhayden@users.noreply.github.com> Date: Thu, 21 Mar 2024 11:57:37 -0400 Subject: [PATCH] adding health check to staging deployment --- .github/workflows/cicd.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 0b061d1b..a3e7e1fc 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -31,6 +31,13 @@ jobs: sudo docker-compose up -d echo 'deployed successfully on server' " + - name: Check the deployed service URL + uses: jtalk/url-health-check-action@v4 + with: + url: ${{ secrets.ADLNET_STAGING_HOST }} + max-attempts: 10 + retry-delay: 10s + cypress-testing: name: Cypress run environment: staging