Explorar o código

Fix error message to use SSH_KNOWN_HOST variable properly

Previously SSH_KNOWN_HOSTS was used which is undefined.
Rob Winch %!s(int64=3) %!d(string=hai) anos
pai
achega
bcdde1c850
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .github/actions/publish-docs.sh

+ 1 - 1
.github/actions/publish-docs.sh

@@ -7,7 +7,7 @@ SSH_KNOWN_HOST="$4"
 SSH_PRIVATE_KEY_PATH="$HOME/.ssh/${GITHUB_REPOSITORY:-publish-docs}"
 
 if [ "$#" -ne 4 ]; then
-  echo -e "not enough arguments USAGE:\n\n$0 \$HOST \$HOST_PATH \$SSH_PRIVATE_KEY \$SSH_KNOWN_HOSTS\n\n" >&2
+  echo -e "not enough arguments USAGE:\n\n$0 \$HOST \$HOST_PATH \$SSH_PRIVATE_KEY \$SSH_KNOWN_HOST\n\n" >&2
   exit 1
 fi