ukri-excalibur / excalibur-tests

Performance benchmarks and regression tests for the ExCALIBUR project
https://ukri-excalibur.github.io/excalibur-tests/
Apache License 2.0
17 stars 14 forks source link

[CI] Allow empty git commit when deploying docs to gh-pages #309

Closed giordano closed 3 months ago

giordano commented 3 months ago

I believe with mkdocs v1.6.0 we may have to allow empty commits, because the compressed sitemap shouldn't change anymore on every rebuild.

giordano commented 3 months ago

Uhm, this is still installing mkdocs 1.5.3: https://github.com/ukri-excalibur/excalibur-tests/actions/runs/8783703326/job/24100487531?pr=309#step:4:86. Edit: ah, we're locked to mkdocs v1.5.3 by mkdocs-material: https://github.com/squidfunk/mkdocs-material/blob/aaa7ce8e1987fa0e4cd7f89d2cadd8b8052e8026/requirements.txt#L24

giordano commented 3 months ago

Mkdocs-material now supports mkdocs 1.6.0, and this is finally working: https://github.com/ukri-excalibur/excalibur-tests/commit/f0f3c1638eb7567ad02cca546a5ddac8d0d0afd5 is an empty commit, no change to the compressed sitemap! :partying_face: