This plugin has not been fully tested. Proceed with caution.
Use this plugin for deplying an application via git push. You can override
the default configuration with the following parameters:
remote- Target remote repository (if blank, assume exists)remote_name- Name of the remote to use locally (default "deploy")branch- Target remote branch, defaults to masterlocal_branch- Local branch or ref to push (default "HEAD")force- Force push using the--forceflag, defaults to falseskip_verify- Skip verification of HTTPS certs, defaults to falsecommit- Add and commit the contents of the repo before pushing, defaults to false
The following is a sample configuration in your .drone.yml file:
deploy:
git_push:
branch: master
remote: git@git.heroku.com:falling-wind-1624.git
force: false
commit: trueAn example of pushing a branch back to the current repository:
deploy:
git_push:
remote_name: origin
branch: gh-pages
local_ref: gh-pages