0.1.14 • Published 10 years ago

heroku-publisher v0.1.14

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

heroku-publisher

A CLI tool to publish static websites to Heroku.

Installation

Just run

$ npm install heroku-publisher

Use -g if you want to use this as a CLI tool.

Usage

From CLI

Running

$ heroku-publisher

will try to create a Heroku application with the name of the current directory, or to use the existing one. You can pass -n APP_NAME to change the application name.

By default, this will serve your ./public directory.

If you need to build your project before publishing, pass the -b option with your compile command:

$ heroku-publisher publish -n "grunt compile"

Programatically

options = { retry: true, appName: 'myherokuapp', build: 'grunt compile:dev' }
publisher.publish options, (err, app) ->
  console.log "App published to #{app.web_url}"
0.1.14

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago