fix: add missing exit 1 statement

This commit is contained in:
skyfrk 2019-09-27 13:04:02 +08:00
parent da0488f27e
commit 60eb903bb7

View File

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