Skip to content

lvivier/step-gh-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. E.g. hugo outputs to public/
  • branch optional Set this if you want to deploy to a different branch for testing/staging purposes. By default it will use gh-pages (if a project), or master (if a user/organisation).
  • domain optional Set this to use a 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: public

About

deploy github pages with wercker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages