install ssh in runner image for daily-collect job

This commit is contained in:
Brendan McDevitt 2025-03-27 17:18:32 -05:00
parent 4533c54da5
commit a3aa9ed49c

View file

@ -12,12 +12,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install SSH
run: |
sudo apt-get update
sudo apt-get install -y openssh-client
- name: Setup SSH
run: |
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