Github Action with EC2 using SSH Check this out on Dev.to Configure SSH into aws ec2 How to handle SSH keys with ec2-github actions https://zellwk.com/blog/github-actions-deploy/ Declare these git secrets SSH_PRIVATE_KEY HOST_NAME / IP_ADDRESS