From a3aa9ed49c70f339732976f83689dc86e178e6cf Mon Sep 17 00:00:00 2001 From: Brendan McDevitt Date: Thu, 27 Mar 2025 17:18:32 -0500 Subject: [PATCH] install ssh in runner image for daily-collect job --- .forgejo/workflows/daily-collect.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/daily-collect.yaml b/.forgejo/workflows/daily-collect.yaml index 8f422dc..1b02fd4 100644 --- a/.forgejo/workflows/daily-collect.yaml +++ b/.forgejo/workflows/daily-collect.yaml @@ -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