The Spin Docs website is deployed via the deploy-website.yaml GitHub workflow.
(Note: currently this website consists of redirects to the Spin Docs hosted on Fermyon's Developer site)
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 ref
, sha
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 publish-spin-docs Nomad job checks out this repo's source code and publishes it to Bindle.
The spin-docs Nomad job contains configuration for the running website, including the bindle ID to run from.