I’ve got a project on Bitrise that currently runs only three steps:
Activate SSH Key
Clone Repository
Run a custom shell script
In the custom script I am making some changes to the projects file structure, with the intention of uploading the changes to GitHub. However, when the script reaches:
git push
I encounter the error:
ERROR: The key you are authenticating with has been marked as read only.
fatal: Could not read from remote repository.
The GitHub account has an ssh key associated with read/write access from GitHub.
Thank you for your reply, my mistake was that I was using the default SSH key generated by BitRise for the project. I generated a new key manually in order to get read/write access. Thanks.