diff --git a/.woodpecker.yml b/.woodpecker.yml index 79c5eab6..fc623527 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -32,6 +32,7 @@ pipeline: - "install -d -m 700 ~/.ssh/" - "echo \"$${KNOW_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts" - "chmod 600 ~/.ssh/known_hosts" + - "echo \"$${ORIGIN}\" | cut -d @ -f 2 | cut -d : -f 1 | xargs ssh-keygen -F" - "eval $(ssh-agent -s)" - "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -" - "ssh $${ORIGIN%:*}"