News for hackers. Stuff that matters.
Re:piku: The tiniest PaaS you've ever seen by kachurovskiy on Sunday June 09, 2024 @03:59PM (#40627112)
I just added a magic URL in my app that GitHub calls whenever a commit is pushed and the server does `git pull` which in turn causes pm2 to reload the app. So committing anything shows up in production in seconds. Great for smaller projects.
Re:piku: The tiniest PaaS you've ever seen by fprotthetarball on Sunday June 09, 2024 @04:08PM (#40627183)
I have a similar setup, using snare to handle the webhook endpoint: https://github.com/softdevteam/snare

GitHub will call the webhook after a push to main and a successful test suite run. Snare runs a shell script on my server to git pull, build, deploy, and call a cronitor.io hook for monitoring deploy success.

I've been pretty happy with how relatively simple it is and how well it works.

Re:piku: The tiniest PaaS you've ever seen by gitinit on Sunday June 09, 2024 @04:48PM (#40627498)
How did you set this up? Seems simple yet effective.