Skip to content

willscripted/git-publish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-publish

git publish

Export docs to github pages.

Publishing with Git

Getting Started

Install

git clone [email protected]:will-ob/git-publish.git \
   && cd git-publish \
   && sudo make install

git publish init # create .gitpublish

####Use

git publish

Options

# .gitpublish

# Command to build web dir
build_cmd="herp derp" # no command by default

# Folder to upload
# (html/images/css, not source files)
export_dir=build/ # default: ./

# Remote repository to push to
remote=origin

# Branch of remote to push to
branch=gh-pages

Development

This page uses pandoc and make to generate its github pages.

Changelog

v0.1.0

  • Added version number git publish --version

License

The MIT License (MIT)

Copyright (c) 2014 Will O'Brien