ghmirror | GitHub repositories
kandi X-RAY | ghmirror Summary
kandi X-RAY | ghmirror Summary
ghmirror helps you to keep copies of your GitHub repositories. It works in two ways:. It’s always a good idea to have backups, and ghmirror is an ideal solution for backing up your GitHub repositories.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ghmirror
ghmirror Key Features
ghmirror Examples and Code Snippets
Community Discussions
Trending Discussions on ghmirror
QUESTION
(Note: I know that a personal access token will work, but external reasons require me to do this via an SSH Deploy Key. Both the source repo and the target repo are private.)
I need to use CircleCI to push every commit from the source repo to the target repo. Assume the repos are named source
and target
. I am configuring CircleCI to run my custom push script but it's saying that the key is read-only.
What I've done:
- Created a new key pair with
ssh-keygen
on my PC and compress the private key. - Uploaded the public key
id_rsa.pub
to the target repo as a Deploy Key, with "allow push access with this key" ticked. - Put the compressed private key in the repository Environment Variables on CircleCI
- Wrote this script:
ANSWER
Answered 2019-Mar-16 at 18:49I believe the problem you are experiencing is due to the ssh-agent offering the CircleCI key, which is read-only. I've hit this problem as well in the past. To debug you can use the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ghmirror
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page