Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated Heroku buildpack #220

Open
nickcampbell18 opened this issue Oct 3, 2022 · 0 comments
Open

Replace deprecated Heroku buildpack #220

nickcampbell18 opened this issue Oct 3, 2022 · 0 comments

Comments

@nickcampbell18
Copy link
Contributor

remote: -----> Using buildpacks:
remote:        1. https://github.com/heroku/heroku-buildpack-static
remote:        2. heroku/nodejs
remote: -----> Static HTML app detected
remote:        ## WARNING: `heroku-buildpack-static` is deprecated
remote:
remote:        This buildpack is deprecated and is no longer being maintained.
remote:        If you are using this project, you can transition over to NGINX via an NGINX buildpack.
remote:        Use your project's existing configuration.
remote:        To find the NGINX configuration generated by the heroku-buildpack-static you can run:
remote:
remote:        ```
remote:        $ heroku run bash
remote:        ~ $ bin/config/make-config
remote:        ~ $ cat config/nginx.conf
remote:        ```
remote:
remote:        These commands will output your current NGINX config generated from your `static.json` contents.
remote:
remote:        - Write these contents to your local repo at `config/nginx.conf.erb`, commit them to git.
remote:        - Replace path logic that previously used `mruby` with static logic.
remote:        - Configure your app to use the NGINX buildpack via `heroku buildpacks:add heroku-community/nginx`.
remote:        - Remove this buildpack via `heroku buildpacks:remove heroku-community/static` (or `heroku buildpacks:remove https://github.com/heroku/heroku-buildpack-static`).
remote:
remote: -----> Installed nginx 1.21.3 to /app/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant