Hacker News new | past | comments | ask | show | jobs | submit login

What made you leave gh pages?



AFAIAK GitHub pages require that the built files are stored in the repo.

Netlify checks out the repo, runs the build command and then takes files from your dist directory. Iā€™d love for GitHub pages to behave like this. A much simpler setup.


Well, you can technically push the src changes to `master` branch, have a github action build + update a `deploy` branch and then have gh pages read from there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: