You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Jack Lukic a8914d32d7 Moves some important logic from toggle to show in popup, so it can be called programmatically 11 years ago
..
node_modules Adds node modules to gitignore too much issues 11 years ago
out Missing updates from home lost during last sick week 11 years ago
.npmignore Fixes issue with accidental submodule 11 years ago
Contributing.md missing files 11 years ago
LICENSE.md missing files 11 years ago
README.md Missing updates from home lost during last sick week 11 years ago
package.json Merge branch 'master' of github.com:quirkyinc/semantic 11 years ago

README.md

GitHub Pages Deployer Plugin for DocPad

NPM version Flattr donate button PayPayl donate button

Deploy to Github Pages easily via docpad deploy-ghpages

Install

docpad install ghpages

Usage

Run docpad deploy-ghpages to deploy the contents of your out directory directly to your repo's gh-pages branch. No configuration or setup required.

Debugging

Dpendending on circumstances, maybe the github pages plugin won't work and you'll see an error. We can debug this by running the deploy with the -d flag. That will tell us at which step the deploy failed.

  • If the deploy fails fetching the origin remote, it means that you do not have the remote "origin", you will need to add it, or update the deployOrigin setting to reflect your desired remote.

  • If the deploy fails on the push to github pages, you may need to specify your username and password within the remote. You can do this by running:

    node -e "console.log('https://'+encodeURI('USERNAME')+':'+encodeURI('PASSWORD')+'@github.com/REPO_OWNER/REPO_NAME.git')"
    
    
     Replace the words in capitals with their actual values and press enter. This will then output the new remote URL, you then want to copy it and run `git remote rm origin` and `git remote add origin THE_NEW_URL` and try the deploy again.
    
     On OSX you may be able to avoid this step by running `git config --global credential.helper osxkeychain` to tell git to save the passwords to the OSX keychain rather than asking for them every single time.
    
    
  • If you get EPERM or unlink errors, it means that DocPad does not have permission to clean up the git directory that it creates in the out folder. You must clean this up manually yourself by running rm -Rf ./out/.git

History

You can discover the history inside the History.md file

Contributing

You can discover the contributing instructions inside the Contributing.md file

License

Licensed under the incredibly permissive MIT License
Copyright © 2013+ Bevry Pty Ltd us@bevry.me

Contributors