Skip Navigation

Creating custom GitHub webhooks for automatic deployments

lexp.lt Creating custom GitHub webhooks for automatic deployments

For a while, when updating ArkScript website, I have needed to remember to update the copy on my VPS so that the changes would be reflected to the world. Since I’m quite lazy, I’d like to automate this! # The solutions The first solution would be to use crontabs. Easy to setup, find a schedule, writ...

I thought you guys might enjoy it: I have a website that I push to frequently on GitHub, and some GitHub actions that update it periodically by pulling code and generating docs from it. I needed to connect to my vps often and update the website which was cumbersome.

Well a solution is to use webhooks on push events and have a server listening to those events to then update said websites for me.

0
0 comments