Currently a new site.css will be created every time minify-css.sh is run - even if there were no changes to the .css files. I've added a check to ensure site.css is only created if there are changes from the original.
merge-css.sh didn't need to be in a separate file and it was causing slight issues with the checksum, so it's been removed.
Since minify-css.sh was added to yarn build (here: https://github.com/kobiton/docs/pull/101), the explicit call in the workflows has been removed so it's not being called twice.
Summary
site.css
will be created every timeminify-css.sh
is run - even if there were no changes to the.css
files. I've added a check to ensuresite.css
is only created if there are changes from the original.merge-css.sh
didn't need to be in a separate file and it was causing slight issues with the checksum, so it's been removed.minify-css.sh
was added toyarn build
(here: https://github.com/kobiton/docs/pull/101), the explicit call in the workflows has been removed so it's not being called twice.Related PRs, issues, or features (optional)
Metadata
PR contributor checklist
[x] My PR follows the Kobiton Docs contributor guidelines, meaning:
nav.adoc
file.en-us
) from my URLs.