/step-gh-pages

deploy github pages with wercker

Primary LanguageShell

Github Pages Deploy

A wercker step to deploy to Github Pages.

Options

  • token Github API access token (documentation). don't share this on a public repo, use an environment variable!
  • basedir optional Set this if your build step outputs to a folder
  • domain optional Custom domain (documentation)
  • repo optional Set this to a github repo like "user/repo". Defaults to your build repo

Example

Check out lvivier/luke.vivier.ca on GitHub.

deploy:
  steps:
    - gh-pages:
        token: $GIT_TOKEN
        domain: luke.vivier.ca
        basedir: build