How do I publish from Wordpress to GitHub without using/paying $$$ for the Simply Static plug-in?
So the goal is to have ‘one click publishing’ from a Wordpress site through to a GitHub repo, which would then be picked up by pages.
I’m aware the Simply Static plug-in does this, it has a ‘deploy to git’ feature. However it’s US$99/yr/per site, or US$499/yr for unlimited sites. I have about 5.
Surely there’s a cheaper way?
What have you heard of people doing to publish their Wordpress sites to Pages (after a static site generator has produced the static files?
I’ve successfully been able to deploy to S3 using the Staatic plug-in.
Would appreciate any ideas, recommendations or solution ideas!
3 Replies
i doubt they're going to let you export the code. this is how a lot of these website builders get you locked into their ecosystem. you can't take the code with you. they want you paying them to use their tool. this is one of many reasons why you hear people say don't use website builders. it's stuff like this.
if your website isn't too complicated, you could maybe just right click view source and copy each page into its own html file. but the code will likely be beyond ugly and probably has references to other assets. you'd have to get the source for each of those assets but they're usually minified/bundled and will also be not human friendly at all.
Yeah I hear you.
There is this other ‘wrapper’ plug-in which captures the output, and routes it to S3.
See: https://github.com/grrr-amsterdam/simply-static-deploy
But I get it’s a whole ‘nother thing to establish a local/remote repo relationship and be able to push commits automatically
GitHub
GitHub - grrr-amsterdam/simply-static-deploy: WordPress plugin to d...
WordPress plugin to deploy static sites easily to an AWS S3 bucket. - GitHub - grrr-amsterdam/simply-static-deploy: WordPress plugin to deploy static sites easily to an AWS S3 bucket.
something like that is just going to take the rendered output and save it, it might do some clean-up to make it a little easier but don't expect it to be perfect. you'll still have to do a lot. but at least it's better than nothing.