Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

wojtekk/heroku-tarball-deploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Tarball Deploy npm version Build Status

A library and CLI script for automating a deployment of a tarball (tgz or tar file) to Heroku.

CLI tool

Instalation:

npm install heroku-tarball-deploy --global

How to use

Usage:

htd --app APP [--file FILE] [--username USERNAME] [--password PASSWORD]

Required arguments:

  • -a APP, --app APP - Heroku application name.

Optional arguments:

  • -a APP, --app APP - Heroku application name.
  • -f FILE, --file FILE - Path to tarball file
  • -u USERNAME, --username USERNAME - Heroku username, default: git
  • -p PASSWORD, -k PASSWORD, --password PASSWORD - Heroku user spassword or API key

Library

Instalation:

npm install heroku-tarball-deploy --save

Usage

Example usage:

const htd = require('heroku-tarball-deploy');

htd(opts)
  .then(() => console.log('Done'));

Available options:

  • app - required, Heroku application name
  • file - path to file (tgz or tar), default: build.tgz
  • credentials - Heroku credentials
    • username - user name, use git if you pass Heroku API key as password, default: git
    • password - required, user password or Heroku API Key
  • logger - logger object (compatible with Console - required methods: error and info)

Authors

This tool based on a project Rounded/heroku-deploy-tarball developed by John Shanley.

Packages

No packages published

Languages

  • JavaScript 100.0%