Keep two Git repositories in sync
573
![]()
This Drone plugin allows you to keep two Git repositories in sync
Currently, only Git over SSH is supported. PR are welcome.
steps:
- name: sync
image: vitovan/drone-git-sync:latest
settings:
repo_from: [email protected]:vitovan/drone-git-sync.git
repo_to: [email protected]:vitovan/drone-git-sync.git
ssh_key:
from_secret: ssh_key
Optional settings:
--force to get git push --force ...cat ~/.ssh/id_rsa | base64
Make sure your key does not need a password, otherwise see below
docker run -it --rm \
-e=PLUGIN_SSH_KEY=`cat ~/.ssh/id_rsa | base64` \
[email protected]:vitovan/drone-git-sync.git \
[email protected]:vitovan/drone-git-sync.git \
vitovan/drone-git-sync:latest
This will prompt you to enter your password, if you have one
Content type
Image
Digest
Size
12.3 MB
Last updated
almost 7 years ago
docker pull vitovan/drone-git-sync