Netlify deployer plugin for Hexo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
index.js
package.json

README.md

hexo-deployer-netlify

Netlify deployer plugin for Hexo.

Installation

$ npm install hexo-deployer-netlify --save

Options

You can configure this plugin in _config.yml.

# You can use this:
deploy:
  type: netlify
  token: <your personal access token>
  site_id: <your website id>
  # zip: true  #deploy with zip file.
  • token: Netlify personal access token (you can create one at https://app.netlify.com/applications). It should be a long base64 string, i.e. 'aa00aa00aa00aa00aa00aa00aa00aa00aa00aa00aa00aa00aa00aa00aa00aa00'
  • site_id: Your site api ID. Should be an UID, something like '11bb11bb-11bb-11bb-11bb-11bb11bb11bb'. You can find it in "Site Info" section, at the bottom of https://app.netlify.com/sites/my-blog-name.
  • zip: If set to true, deploys using 'zip' method (zips public directory and then uploads archive to the netlify). This setting is optional.

License

WTFPL