gbv / coli-conc.gbv.de

project coli-conc homepage
https://coli-conc.gbv.de/
5 stars 4 forks source link

Deployed website: German site is not refreshing #42

Closed stefandesu closed 3 years ago

stefandesu commented 3 years ago

After #41, the English site at https://coli-conc.gbv.de has the new information, but the German site at https://coli-conc.gbv.de/de/ does not. I've determined the issue, but I don't know WHY it occurred:

During the build, any page in the English site that is not in the German folder structure will be copied there for the build of the German page. After the build, the build script is supposed to remove all those files. Apparently, on our server this step did not happen, so there are lots of files left over and when it builds the site, it simply uses those old files.

Maybe one time something went wrong during the build script and it crashed before removing the copied files. I will have to look at the logs. However, it would be better to redesign the build so that this issue simply can't occur anymore. Not sure how to do this, but it should be somehow possible.

stefandesu commented 3 years ago

However, it would be better to redesign the build so that this issue simply can't occur anymore.

Couldn't find a good solution to redesign the build, so I just added more error handling. 🙈