Set-up:
Spring-Boot app
Basic config.yml
GitHub Webhook
Build previously succeeded
I have a project that used to build successfully and now it’s failing on:
Spin up environment: pass
Preparing environment variables: pass
Checkout code: FAIL
Using SSH Config Dir '/home/circleci/.ssh'
git version 2.30.2
Cloning git repository
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '140.82.113.3' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
exit status 128
My attempts to fix:
-
In GitHub remove and re-add the circle ci webhook https://circleci.com/hooks/github
-
Rebuild the project
-
Ensured project GitGub visibility is public
Is there anything else I can try.
Thanks for your help.