Skip to content

hector-able/buildpack-ruby-rake-deploy-tasks

This branch is 2 commits ahead of gunpowderlabs/buildpack-ruby-rake-deploy-tasks:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7e01595 · May 8, 2020

History

30 Commits
May 8, 2020
Feb 23, 2015
Apr 21, 2017

Repository files navigation

Heroku buildpack for running arbitrary rake tasks on deploy

This buildpack is intended for use after the regular ruby-buildpack.

UPDATE

Heroku's Release Phase (in beta) is their own replacement for this. This project will be deprecated once Release Phase is out of beta and supports all of the use cases.

Usage

If you are using the default buildpack, manually set your buildpack to Heroku's default Ruby buildpack

heroku buildpacks:set https://github.com/heroku/heroku-buildpack-ruby

Append the buildpack-ruby-rake-deploy-tasks to your buildpack list:

heroku buildpacks:add https://github.com/gunpowderlabs/buildpack-ruby-rake-deploy-tasks

Configure DEPLOY_TASKS environment variable with the tasks you want to run:

heroku config:set DEPLOY_TASKS='db:migrate cache:clear'

License

MIT, see the LICENSE file.

About

Run arbitrary rake tasks on deploy to Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%