From 4c9ecf396bd32d0bc38def78968ab63a3b24dcbd Mon Sep 17 00:00:00 2001 From: Winston H <56998716+winstxnhdw@users.noreply.github.com> Date: Fri, 30 Jun 2023 04:27:14 +0800 Subject: [PATCH] ci/fix: use correct endpoint --- .github/workflows/warmer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/warmer.yml b/.github/workflows/warmer.yml index 3b0f9e0..1f2c989 100644 --- a/.github/workflows/warmer.yml +++ b/.github/workflows/warmer.yml @@ -25,7 +25,7 @@ jobs: - name: cURL the API run: | healthcheck() { - [ "$(curl https://$GITHUB_REPOSITORY_OWNER-$REPOSITORY_NAME.hf.space/v1/)" = "\"Welcome to v1 of the API!"\" ] + [ "$(curl https://$GITHUB_REPOSITORY_OWNER-$REPOSITORY_NAME.hf.space/)" = "\"Welcome to v1 of the API!"\" ] } healthcheck || healthcheck || healthcheck