Open JayRovacsek opened 1 year ago
Not sure I follow what you mean here? But reducing the volume of commits with our janking hombrewed automated CMS is very welcomed
This is related to #92
Looking into this further, the current setup is using branch based deployment.
Which in August 2022 got converted to a default Jekyll based GHAction. 🤮
Also I think part of what @JayRovacsek is describing is that the convention is the published branch is gh-pages
and that branch should be purely the deployed output of artifacts.
Whilst main
is the source code to generate the website.
It seems it could be streamlined to a more minimal GH Actions workflow.
which is effectively these GH Actions / Steps
which should deploy to a github-pages
Environment
this doesn’t address the many commits to update the “CMS” though.
Actually it would address the many commits issue (sort of).
If gh-pages
is the deployment branch, then it is purely built artefacts as commits. This is the branch that’ll keep auto updating the nightly events scraping.
main
will be purely source code changes.
Currently the Github pages deployment stems from the 'master' branch - is the project open to this being moved to an alternate branch is generally common (but not required) pattern? This would have a benefit of not including a large number of commits as result of the build/publish process in the development (master) branch