Arise v1.1.0
Changelog
- Bumped
actions/checkout@v2
toactions/checkout@v4
. No impact from this change. - Removed
sed
from the metadata tag evaluation inbuild_header
. Replaced with Bash native pattern matching so that this evaluation is safer. - Added checks to automatically rewrite any XML reserved characters (&<>'") as their escape codes when present in page metadata (title, author, etc).
- Rewrote the way a majority of the page metadata values are parsed in
get_page_metadata
to make the parsing more robust. This was necessary because previously unescaped double quotes ("
) would break the parser. The workaround was to use escape codes, but if we're automatically parsing escape codes then we need a way to put these characters in unescaped now. - Added a CI test suite to build the default site and test to make sure that the XML reserved characters are getting properly escaped. This is helpful because it allows me to more continuously ensure that commits I make in dev don't break the site.
- Rewrote the way a majority of the page metadata values are parsed in
- Added a Smart Deploy step in the deployment workflow to check whether the triggering branch is
main
or not so that CICD can intelligently deploy the site to either production or staging depending on what branch triggered the deployment.
Cloud Native
Arise is cloud-native technology, so the source artefacts auto-generated below likely will not be of much use. Please refer to the project readme for details on how to get started with Arise.