From 6158002796a1614516457f8134b7bce045100347 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 9 Nov 2022 21:33:54 +0100 Subject: [PATCH] Fix sha check while deploying --- .github/workflows/publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index aeea837..eb37bf7 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -48,4 +48,4 @@ jobs: max_attempts: 5 retry_wait_seconds: 2 warning_on_retry: false - command: curl -sSL --fail -m 10 https://charasheet.augendre.info | grep $GITHUB_SHA > /dev/null + command: curl -sSL --fail -m 10 https://charasheet.augendre.info | grep ${GITHUB_SHA::7} > /dev/null