Parcourir la source

Use .ssh for SSH_PRIVATE_KEY_PATH

This ensures the .ssh folder is being created and aligns the private key
and known host location.
Rob Winch il y a 3 ans
Parent
commit
826f776d9b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .github/actions/publish-docs.sh

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

@@ -4,7 +4,7 @@ HOST="$1"
 HOST_PATH="$2"
 SSH_PRIVATE_KEY="$3"
 SSH_KNOWN_HOST="$4"
-SSH_PRIVATE_KEY_PATH="$HOME/.ssh-ci/${GITHUB_REPOSITORY:-publish-docs}"
+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