Overview#
I had an opportunity to copy build results to a Sakura rental server using GitHub Actions and SCP, so this is a memorandum of the process.
I used the following GitHub Action.
https://github.com/appleboy/scp-action
Issue Encountered#
When I tried using the following notation, it worked fine when using act in the local environment, but it did not work when running on GitHub Actions.
Specifically, the following error occurred:
The following was helpful for resolving this issue.
https://stackoverflow.com/questions/71850567/github-actions-workflow-error-ssh-handshake-failed-ssh-unable-to-authenticat
Specifically, the error was resolved by using key and passphrase as shown below:
Summary#
I hope this serves as a useful reference for those experiencing similar issues.