diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..48aab52 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: vendor/bin/heroku-php-apache2 public/ diff --git a/package.json b/package.json index 214a50e..e8ceca3 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "eslint": "eslint --ext .js,.ts,.tsx resources/", "stylelint": "stylelint resources/assets/sass/**/*", - "doc": "redoc-cli bundle -o public/apidoc.html openapi.yaml" + "doc": "redoc-cli bundle -o public/apidoc.html openapi.yaml", + "heroku-postbuild": "npm run production && npm run doc" }, "devDependencies": { "@types/bootstrap": "^4.5.0",