# README
drone-git-update-fork
Drone plugin to update a remote git repository, e.g. a fork.
Build
go build .
Run
PLUGIN_DESTREPO=https://github.com/foobar/destination-repo.git PLUGIN_TOKEN=<github token> DRONE_BRANCH=master drone-git-update-fork
Example drone step
---
name: default
kind: pipeline
steps:
- name: update git fork
image: bitsbeats/drone-git-update-fork
settings:
destrepo: https://github.com/foobar/destination-repo.git
token:
from_secret: github_token
force: true