Git deployer plugin for Hexo.
$ npm install hexo-deployer-git --save
You can configure this plugin in _config.yml
.
# You can use this:
deploy:
type: git
repo: <repository url>
branch: [branch]
message: [message]
# or this:
deploy:
type: git
message: [message]
repo:
github: <repository url>,[branch]
gitcafe: <repository url>,[branch]
- repo: Repository URL
- branch: Git branch
- message: Commit message. The default commit message is
Site updated: {{ now('YYYY-MM-DD HH:mm:ss') }}
.
Remove .deploy_git
folder.
$ rm -rf .deploy_git
MIT