component-docs
component-docs copied to clipboard
Enable pushing WIT interfaces via CI
It should be possible to publish a WIT interface from the component-docs repo automatically when a certain CI workflow is run.
This will likely require the following:
- Adding
bytecodealliance/component-docsto thedocs:adderpackage list of allowed repositories - Creating a CI job that pushes versions of the docs/adder WIT (using the built-in
github.token) - Ensure that we're running
wkg publishon the textual WIT directory (not a built component implementation) -- we should be able to get a minimal WIT-only component
@vados-cosmonic there is a GitHub action that the BA created to help with this: https://github.com/bytecodealliance/component-docs/issues/243#issuecomment-2824738056