Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin deployer git #452

Merged
merged 2 commits into from
Jan 19, 2014
Merged

Plugin deployer git #452

merged 2 commits into from
Jan 19, 2014

Conversation

chenall
Copy link
Contributor

@chenall chenall commented Jan 17, 2014

从deployer/github.js改进而成的,主要是进行了功能的增强

  • 支持指定.deploy目录位置
  • 支持同步到多个git仓库
  • 支持指定主仓库(初始化时会从这个源下载旧资料).

如下配置的例子,使用了三个git仓库地址,可以保持这三个仓库同步.

deploy:
  type: git
  master: github
  deploy_dir: .git
  repo:
    github: <github repository url>,gh-pages
    gitcafe: <gitcafe repository url>,gitcafe-pages
    baidu: <baidu repository url>

master 指定主仓库
deploy_dir 指定deploy要使用的根目录.
repo 要使用的仓库地址列表.

tommy351 added a commit that referenced this pull request Jan 19, 2014
@tommy351 tommy351 merged commit 8c4b9b7 into hexojs:master Jan 19, 2014
@chenall chenall deleted the plugin-deployer-git branch January 20, 2014 02:26
zhipengyan pushed a commit to zhipengyan/hexo that referenced this pull request Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants