diff --git a/app.json b/app.json index 62040f1d84..57f8ab0aba 100644 --- a/app.json +++ b/app.json @@ -41,5 +41,8 @@ { "plan": "heroku-postgresql" } - ] + ], + "scripts": { + "postdeploy": "export APP_KEY=$(php artisan --no-ansi key:generate --show)" + } } \ No newline at end of file