Hacker News new | ask | show | jobs
by antoniomika 844 days ago
We don't presently have webhooks, but do have a GitHub action for this (https://github.com/marketplace/actions/pgs-action). The goal was to make it easy to deploy using off the shelf tools and not require anything to be installed for usage. I could see us thinking about making this a feature/addon down the road.
1 comments

The Github action is probably good enough if one is happy/willing for Github to hold the SSH private key to access their site.

I see your point about not wanting to add extra tools; can I ask what you use for serving the sites? I've used things like Caddy server in the past to do things like generating the static site from my Markdown with Hugo, but I currently use "Apps" on Digital Ocean which uses web hooks to detect commits and deploy my Hugo static sites.

We do use Caddy, but just for reverse proxying and handing TLS. We utilize custom http/ssh servers on the backend to handle everything. All of our work is open source and we do development in the open / discuss features over IRC on Libera. You could self host pgs if you wanted! Here's the repo: https://github.com/picosh/pico
Thanks for the info, that's really cool to hear! I'll check it out.