The Compile Artifacts workflow is set up as a resuable workflow that is triggered with the Deploy Components workflow.
See .github/workflows/compile.py
for the logic that determines which files to compile and how to compile them.
The Deploy Components workflow downloads the artifacts created in the Compile Artifacts workflow and deploys them to LibGuides.
See .github/workflows/deploy.py
for the logic that determines which files to deploy and how to deploy them.
A scheduled GitHub Actions job in .github/workflows/notices.yml
runs periodically that executes .github/workflows/notices.py
which does the transformation from RSS to HTML fragments. These fragments are then committed and pushed to this repository under fragments/notices
.
The final steps in the job conditionally publish any updated HTML fragments with GitHub Pages. The HTML fragments are now publicly available for our JavaScript widget without CORS restrictions.
TK