mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-02-19 12:56:44 +00:00
Use .ssh for SSH_PRIVATE_KEY_PATH
This ensures the .ssh folder is being created and aligns the private key and known host location.
This commit is contained in:
parent
edf2f55db1
commit
826f776d9b
2
.github/actions/publish-docs.sh
vendored
2
.github/actions/publish-docs.sh
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user