From 54900fec6da606576b716c3bfebf83f2561488f4 Mon Sep 17 00:00:00 2001 From: multivac61 Date: Sun, 20 Oct 2024 21:38:13 +0000 Subject: [PATCH] ssh-agent to "inventory" job Add ssh-agent to "inventory" job too --- .github/workflows/workflow.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 253db64..1f2299f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -49,6 +49,10 @@ jobs: with: flakehub: true - uses: DeterminateSystems/magic-nix-cache-action@main + - uses: webfactory/ssh-agent@v0.9.0 + if: ${{ inputs.enable-ssh-agent }} + with: + ssh-private-key: ${{ secrets.ssh-private-key }} - name: Inventory the flake for targeted systems id: inventory env: