Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 384 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 384 Bytes

Setup SSH Agent

A GitHub Action that starts the ssh-agent with the provided SSH keys and adds github.com to the known hosts.

Usage

Here is an example how to use this action:

- name: Set up ssh-agent
  uses: yakuhzi/setup-ssh-agent@v2
  with:
    ssh-public-key: ${{ secrets.SSH_PUBLIC_KEY }}
    ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}