adding tee to see key
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Louis 2025-04-08 16:55:30 +02:00
parent 448557d7e8
commit 083287066e

View file

@ -16,7 +16,7 @@ steps:
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
# Create the SSH key file
- echo "${SSH_KEY}" > ~/.ssh/id_ed25519
- tee "${SSH_KEY}" > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
- ssh-keyscan -t ed25519 git.polarolouis.fr >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts