Hi, tried to relinking a new repo to an existing site.
This worked without any problems doing: Settings > Build & deploy > Continuous deployment > Build settings , select Edit settings , then Link to a different repository .
Now when I try to build I get the following error:
“Build script returned non-zero exit code: 1”
I didn’t change my build command and it looks like this: “npm rebuild && gulp build && hugo && gulp htmlmin”
Managed to solve the issue by setting up a NODE_VERSION environment variable. Apparently netlify installs the latest node version which brakes some stuff.
The only problem that I now have is that netlify cms gives the error “Problem fetching repo data from Git Gateway” even though I enabled git-gateway in the ui settings.