The Developer website is deployed via the deploy.yml GitHub workflow.
In advance of deployment, the Spin app for this website is published to an OCI registry.
In the case of publishing from the main
branch, both a mutable tag and an immutable tag is pushed: latest
and main-<commit sha>
respectively.
The production version of the website is deployed whenever commits are pushed to the main
branch.
Deployments may also be triggered manually, providing a choice of git
ref
, commit
and environment
(eg canary or prod).
We currently deploy the website via its Nomad job directly. (In the future, we envision running the website as a Fermyon Cloud app.)
The fermyon-developer Nomad job contains configuration for the running website, including the OCI reference to run from.