I have a shell script that can connect to my server. It executes some shell commands there. Now I want to integrate the script into my GitHub action workflow. I have put the script in my repository and the script is also started. But I don't have any ssh commands yet, only echo commands in the script. Therefore it runs successfully.
Now I want to add the SSH commands to the script. But I wonder how I should handle the SSH key now. As I understand it, GitHub does not have a private key from which I can generate my public key and then store it on the server.