xecio-deployer-git

Git deployer plugin of Xecio.

Usage no npm install needed!

<script type="module">
  import xecioDeployerGit from 'https://cdn.skypack.dev/xecio-deployer-git';
</script>

README

xecio-deployer-git

Build Status NPM version Coverage Status Build status

Git deployer plugin for Xecio.

Installation

$ npm install xecio-deployer-git --save

Options

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 to deploy the static site to
  • message: Commit message. The default commit message is Site updated: {{ now('YYYY-MM-DD HH:mm:ss') }}.

Reset

Remove .deploy_git folder.

$ rm -rf .deploy_git

License

MIT