mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-16 23:43:21 +08:00
fix: add missing exit 1 statement
This commit is contained in:
parent
da0488f27e
commit
60eb903bb7
@ -49,6 +49,7 @@ elif [ -n "${GITHUB_TOKEN}" ]; then
|
|||||||
if [ -n "${PUBLISH_REPO}" ]; then
|
if [ -n "${PUBLISH_REPO}" ]; then
|
||||||
if [ "${GITHUB_REPOSITORY}" != "${PUBLISH_REPO}" ]; then
|
if [ "${GITHUB_REPOSITORY}" != "${PUBLISH_REPO}" ]; then
|
||||||
echo "can not use GITHUB_TOKEN to deploy to a different repository"
|
echo "can not use GITHUB_TOKEN to deploy to a different repository"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user