Skip to content

GerwinV/heroku_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HerokuScripts

A wrapper around the pipelines of Heroku

Installation

The package can be installed by adding heroku_scripts to your list of dependencies in mix.exs:

def deps do
  [
    {:heroku_scripts, "~> 0.0.5", only: dev}
  ]
end

Usage

You can run your mix tasks with the following line. Where pipeline_name should be your name of your pipeline in heroku. The stage should be the stage that you want to target (the defaults are "review", "staging" and "production"). And YourTask should be replaced by the mix task you want to run.

# These arguments are required
$ mix PipelineTasks app_name stage YourTask

# With extra options
$ mix PipelineTasks app_name stage YourTask waiting_time=30000 number_of_processes=2

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/heroku_scripts.

About

A wrapper around the pipelines of Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages