install ssh for ssh-keyscan to work in workflow

This commit is contained in:
Brendan McDevitt 2025-03-27 17:15:34 -05:00
parent 0174539fee
commit 4533c54da5

View file

@ -17,6 +17,7 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.TOKEN_NAME }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
apt-get -yq update && apt-get -yqq install ssh
ssh-keyscan git.mcdevitt.tech >> ~/.ssh/known_hosts
- name: Checkout repository