Add the SSH key to the inventory step if needed

This commit is contained in:
Graham Christensen 2024-07-18 14:32:05 -04:00 committed by GitHub
parent be7809fe92
commit e041f7d63c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,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: