Skip to content
Run Laravel's 'php artisan migrate:refresh --seed --force' task on deploy to Heroku
Branch: master
Clone or download
Pull request Compare This branch is 12 commits ahead, 7 commits behind gunpowderlabs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Heroku buildpack for running 'php artisan migrate:refresh --seed --force' task on deploy - For development purpose only.

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


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

heroku buildpacks:set --app nhub

Append the buildpack-laravel-deploy-tasks to your buildpack list:

heroku buildpacks:add --app nhub

Configure DEPLOY_TASKS environment variable with anything. This basically runs php artisan migrate:refresh and php artisan db:seed:

heroku config:set DEPLOY_TASKS='true' --app nhub


MIT, see the LICENSE file.

You can’t perform that action at this time.