Closed kashifnaseer closed 2 weeks ago
This looks like an authentication issue. The GitHub "repository not found" error often means that the SSH key you are using does not have access to the repository. I would double-check that the key is correctly installed as a "deploy key" for the repository, and that you've configured the capistrano-deploy action to load the right key.
Another thing to consider is that you are using an older version of the capistrano-deploy action that uses RSA keys. I believe RSA has been deprecated by GitHub for quite some time; it is possible that they no longer are allowed. In that case you'll need to upgrade capistrano-deploy and generate and use an ED25519 key instead. Note that you may need to add gems to your Gemfile to support ED25519 keys, see: https://github.com/net-ssh/net-ssh/issues/478
Hope that helps!
Thanks @mattbrictson I'm able to fix the deployment
I used to deploy code from Github to AWS via Github Actions without any issue. But now, the same code suddenly stopped working with the following error:
Github Actions Workflow:-
it looks it connects to the remote server from github actions, but it fails to get the latest changes from github.
i also tried to ask in stack over flow, but there is still no luck with it. https://stackoverflow.com/questions/79161025/github-actions-could-not-read-from-remote-repository-ruby-on-rails
Any idea, what is causing this issue ?