ci: arreglar ssh
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Cat /dev/Nulo 2023-03-21 20:26:34 -03:00
parent 1c4806b820
commit 66d57933ba

View file

@ -16,8 +16,8 @@ pipeline:
- | - |
eval $(ssh-agent -s) eval $(ssh-agent -s)
# https://stackoverflow.com/questions/46147228/dotenv-multiline-variables # https://stackoverflow.com/questions/46147228/dotenv-multiline-variables
# echo "${SSH_KEY}" | tr -d '\r' | ssh-add - # echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
echo "${SSH_KEY}" | ssh-add - echo "$${SSH_KEY}" | ssh-add -
mkdir -p ~/.ssh mkdir -p ~/.ssh
echo "[nulo.in]:420,[186.136.121.7]:420 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGPkgRVWYcVcgjI0xAjDgZQsYuXU9edcya8zna01ibyUMlfKHIMD9yOoq0R+fQPTCqwiol/2tKMPJ2hlKshc+H8=" > ~/.ssh/known_hosts echo "[nulo.in]:420,[186.136.121.7]:420 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGPkgRVWYcVcgjI0xAjDgZQsYuXU9edcya8zna01ibyUMlfKHIMD9yOoq0R+fQPTCqwiol/2tKMPJ2hlKshc+H8=" > ~/.ssh/known_hosts