0.2.3 • Published 9 years ago

gh-deploy v0.2.3

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

gh-deploy

A one-liner to kick-start static pages, using GitHub Pages

This module will:

  • Create a new repo, following GitHub Pages convention
  • Add a stub index.html
  • Clone the repo into the current folder
  • Open the GitHub page in the browser, once the page is ready

As a result you will:

  • Have a deployed HTML page on GitHub
  • Have a cloned Git repository, ready to make further changes

Installation

npm install -g gh-deploy

Demo

Part I - Hello World (19 seconds) (a little outdated - there are no input arguments anymore - the wizard asks about them)

Part II - Deploy Todo MVC (36 seconds)

Usage

gh-deploy

The wizard asks about the following items:

  • GitHub username
  • GitHub password
  • Page name - name of the github repository. This defines the page URL

Page URL

GitHub offers two options for page URLs:

Credit

Inspired by microstatic and awestruck

Release History

  • 0.1.0 Initial release
  • 0.2.0
    • Wizard-like interface
    • Open the page when ready
0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago