From 60eb903bb7faf1f115bd8507c43b8e538808cdde Mon Sep 17 00:00:00 2001 From: skyfrk Date: Fri, 27 Sep 2019 13:04:02 +0800 Subject: [PATCH] fix: add missing exit 1 statement --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index 3d3daea..e581845 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -49,6 +49,7 @@ elif [ -n "${GITHUB_TOKEN}" ]; then if [ -n "${PUBLISH_REPO}" ]; then if [ "${GITHUB_REPOSITORY}" != "${PUBLISH_REPO}" ]; then echo "can not use GITHUB_TOKEN to deploy to a different repository" + exit 1 fi fi