How to get Gogs to automatically post to GitHub Pages?
-
Hi! I'm trying to replicate a GitHub/Lab Pages setup using the combo of Gogs and GitHub Pages on Cloudron. Basically the goal is that anytime a commit occurs on Gogs or local changes are pushed to it, I want it to deploy to the GitHub Pages site. I also want to do this in a way that doesn't expose the credentials to GitHub Pages in a git config data file.
My assumption is that, if this is possible, it would be through Git Hooks on Gogs. But I don't see how best to include login credentials there. I'm not the best at shell scripts. Can anyone help me with this?
Thank you so much.