Fix sha check while deploying

This commit is contained in:
Gabriel Augendre 2022-11-09 21:33:54 +01:00
parent 0fc839a4e8
commit 6158002796

View file

@ -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