Deploying your applications to Heroku should never involve manually chaining shell commands together.
Supported Ruby versions: 1.9.3 or higher
Licensed under the MIT license, see LICENSE for more information.
This is a Heroku client plugin and as such requires the Heroku Toolbelt to be installed.
heroku plugins:install https://github.com/hyperoslo/heroku-deploy.git
By default, the master
branch will be deployed to your Heroku app:
heroku deploy
A different branch may be provided:
heroku deploy feature/plus-ux
If you have multiple apps, you may specify either app or remote:
heroku deploy -a hyper-rocks-staging
heroku deploy -r staging
- Supports multiple languages and frameworks using deploy packs (see below)
- Streams output from subcommands
- Relies on UNIX exit statuses to abort deployment early in case of failure
A deploy pack represents a set of deployment instructions for a given language or framework. These instructions could range from turning on maintenance mode, scaling processes to scheduling backups.
At present, only Ruby on Rails and Django are supported. Deploying any other applications? Please open a pull request!
- Code deployment
- Maintenance mode on
- Database migrations
- Restart dynos
- Ensures all processes are in sync after potential database migrations
- Maintenance mode off
- Code deployment
- Maintenance mode on
- Database migrations
- Restart dynos
- Ensures all processes are in sync after potential database migrations
- Maintenance mode off
- Code deployment
- Maintenance mode on
- Database migrations
- Restart dynos
- Ensures all processes are in sync after potential database migrations
- Maintenance mode off
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create pull request
Hyper made this. We're a digital communications agency with a passion for good code, and if you're using this plugin we probably want to hire you.