-
I am using Hugo and it generates static html pages via hugo command. I used https://github.com/testdouble/heroku-buildpack-hugo for this. In the deployed app, my repo files are stored in the path I tried config:set my app Kinda new to all this, seems like I am missing some understanding here, any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found out that I have to add a second buildpack for nginx after the custom buildpack, then with the config:set to |
Beta Was this translation helpful? Give feedback.
I found out that I have to add a second buildpack for nginx after the custom buildpack, then with the config:set to
public
and not/app/www/public
(found this via reading the app sigil), it will work and there is no need to add anything more to the .env or create a .sigil config. This helped me as well https://ericmjl.github.io/essays-on-data-science/miscellaneous/static-sites-on-dokku/#build-a-static-site-skip-if-you-already-have-one