Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

deploy-to-gh-pages

APIs-guru795MIT1.3.7

Shell script to deploy dir to gh-pages

gh-pages, deploy

readme

deploy-to-gh-pages

Shell script to deploy dir to gh-pages

Usage

$ deploy-to-gh-pages [--update] <folder>

Options:

  • folder - path to folder content of which should be deployed to gh-pages. All previous contents of gh-pages branch are removed
  • --update - if specified, content from this folder updates original contents of gh-pages
  • --local - if specified, tool runs in non-CI mode (doesn't configure git user/email to Travis-CI + doesn't require GH_TOKEN)