The former developer of our site has disappeared along with the source code that was on his Github repo that was connected to our Netlify site for continuous deployment.
We have a headless WordPress site with WPGatsby plugin and gatsby-source-wordpress on the Netlify account. Now I am still a bit fuzzy on how all of this works but the following is clear:
When we save changes to content in WordPress, a deployment is triggered on our Netlify site which then fails because gatsby-source-wordpress version is VERY outdated while WPGatsby plugin has been kept up-to-date.
How can we update gatsby-source-wordpress on our Netlify site if we no longer have the source that was on the Github repo?
Hi, @jordanton. Do you have access to the account at netlify where this site found? If so, would you please let us know the site id (or site subdomain)?
You can post that information publicly or you can private message (PM) that to one of our support staff. I’ve confirmed that PMs are enabled for your forum login. Please keep in mind that only one person can see the PM and this will likely mean a slower reply than posting the information publicly. Please feel free to reply to however you prefer though.
Hi, @jordanton. I had asked because I was hoping the Git repository (AKA repo) that is used by Netlify to build the site was public. However, it is not a public repo.
If it were, you could have forked the repo (depending on the license) or at least used it as a reference to make a new repo that did something similar. Unfortunately, because the repo is private, only the owner can grant you access to it.
The only way forward that I see which will be successful here is this:
create a new repo that sources content from the Wordpress site
sign-up for a a new account at Netlify (which is free)
deploy that new site here
complete the domain verification process to have us remove the domain from the existing site
Add the domain to your new site at Netlify and the site will now update correctly again
If you are not a developer, then step one above will require hiring a new developer to do this. Please note, in the contract with the new developer I would recommend stipulating that they do development work only in a repo owned by you so that, if they disappear, you will still have the source code for your site.
If there are other questions about any of this, please let us know.