Adds scripts and workflows to automate the building of the gh-pages site, that will host the profiling results for the TLOModel.
Key features:
build-website.yaml workflow is triggered on pushes to main, results, on dispatch, or when the new-profiling-results event is triggered. The latter is done when the TLOModel repository deposits additional results.
The website_build/build_site script can be run locally to test the affect of any proposed changes to the scripts, before opening a PR against main.
The workflow is designed only to run when the main or results are updated, since it creates a live deployment. This is the reason for an explicit git checkout of those two branches in the workflow.
Adds scripts and workflows to automate the building of the gh-pages site, that will host the profiling results for the TLOModel.
Key features:
build-website.yaml
workflow is triggered on pushes tomain
,results
, on dispatch, or when thenew-profiling-results
event is triggered. The latter is done when theTLOModel
repository deposits additional results.website_build/build_site
script can be run locally to test the affect of any proposed changes to the scripts, before opening a PR againstmain
.main
orresults
are updated, since it creates a live deployment. This is the reason for an explicitgit checkout
of those two branches in the workflow.