Skip to content

Commit a4f700d

Browse files
authored
adding health check to staging deployment
1 parent c08eb88 commit a4f700d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/cicd.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ jobs:
3131
sudo docker-compose up -d
3232
echo 'deployed successfully on server' "
3333
34+
- name: Check the deployed service URL
35+
uses: jtalk/url-health-check-action@v4
36+
with:
37+
url: ${{ secrets.ADLNET_STAGING_HOST }}
38+
max-attempts: 10
39+
retry-delay: 10s
40+
3441
cypress-testing:
3542
name: Cypress run
3643
environment: staging

0 commit comments

Comments
 (0)