Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I appreciate the amount of work and effort you've put in here.

I also maintain my own site which is statically generated and deploys to a VPS running docker via git pushes. I haven't written interactive articles yet, but having absolute freedom is imperative for me. I always end up fighting with whatever system I use, except here I can just extend it to do what I need.



What do you mean deploys to docker? Does it deploy in a container running the web server?


I have a container running on a VPS that uses Caddy's http.git plugin to check for new commits. Whenever I do a git push it pulls in the changes.

See my sibling comment [0] for links.

[0]: https://news.ycombinator.com/item?id=20366137


Oh cool! What did you use to build that? I did the same thing with blog.winricklabs.com


I used Zola [0] + Caddy [1] with the http.git plugin [2] and docker. I generate the assets with Zola, then rsync them to a separate repository and Caddy automatically pulls in the changes whenever I git push.

Source here: https://git.sr.ht/~andrewzah/personal-site/tree

[0]: https://github.com/getzola/zola [1]: https://github.com/caddyserver/caddy [2]: https://caddyserver.com/docs/http.git




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

Search: