You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup SSH Agent
v2.0.0
A GitHub Action that starts the ssh agent with the provided ssh keys and adds github.com to the known hosts.
Here is an example how to use this action:
- name: Set up ssh-agent
uses: yakuhzi/action-ssh-agent@v2
with:
ssh-public-key: ${{ secrets.SSH_PUBLIC_KEY }}
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}