component-docs icon indicating copy to clipboard operation
component-docs copied to clipboard

Enable pushing WIT interfaces via CI

Open vados-cosmonic opened this issue 6 months ago • 1 comments

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:

  1. Adding bytecodealliance/component-docs to the docs:adder package list of allowed repositories
  2. Creating a CI job that pushes versions of the docs/adder WIT (using the built-in github.token)
  3. Ensure that we're running wkg publish on the textual WIT directory (not a built component implementation) -- we should be able to get a minimal WIT-only component

vados-cosmonic avatar May 12 '25 20:05 vados-cosmonic

@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

kate-goldenring avatar May 13 '25 00:05 kate-goldenring