This commit is contained in:
parent
7d10f3d193
commit
c6d103176c
@ -11,6 +11,7 @@ load_deploy_key() {
|
|||||||
mkdir -p "$HOME/.ssh/"
|
mkdir -p "$HOME/.ssh/"
|
||||||
ssh-keyscan -p "$PLUGIN_PORT" "$PLUGIN_HOST" > "$HOME/.ssh/known_hosts"
|
ssh-keyscan -p "$PLUGIN_PORT" "$PLUGIN_HOST" > "$HOME/.ssh/known_hosts"
|
||||||
|
|
||||||
|
# shellcheck disable=SC2046,SC2006
|
||||||
eval `ssh-agent`
|
eval `ssh-agent`
|
||||||
echo "$PLUGIN_DEPLOY_KEY" | ssh-add -
|
echo "$PLUGIN_DEPLOY_KEY" | ssh-add -
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user