Closed derbyshire10 closed 11 months ago
@sphawes is it correct we don't need the site folder? I had always assumed it was some weird requirement for CI or something 🤷
Hi @gabeseltzer, the folder above is not needed for the CI as it rebuilds the project and overrides it.
In CI you are using the command 'mkdocs gh-deploy' and from the documentation below this command will build the project and then deploy it to Github.
Removes an old build of the docs in the MKdoc build folder (site) and then added the site folder to .gitignore to prevent builds from being pushed to the repository in the future.
Builds don't need to be stored, as on every push to the main branch the Actions workflow rebuilds before deploying to docs.opulo.io and when modifying the site offline MKdocs serve will rebuild the site. Both not using the site folder.