w3c / presentation-api

Presentation API
https://www.w3.org/TR/presentation-api/
Other
71 stars 39 forks source link

Enable auto-publication of the spec to /TR #502

Closed tidoust closed 2 years ago

tidoust commented 2 years ago

This update enables auto-publication of the spec as Candidate Recommendation Draft to /TR, as agreed by the working group. It leverages the spec-prod action to do that.

This update also adjusts the workflow for the Editor's Draft itself. The source spec is now to be found in the main branch, and instead of publishing the source spec to GitHub Pages directly, the spec-prod action will rather deploy the generated spec. Among other things, this makes it possible to integrate the spec in Bikeshed's database for cross-referencing purpose.

The spec-prod action also takes care of running ReSpec on pull requests to validate changes from an editorial perspective.

This approach replaces the former approach based on Travis CI.

Note the ECHIDNA_TOKEN was added as secret to the repository.

@mfoltzgoogle There is no good and easy way to test this. At worst, publication fails and I'll investigate and fix parameters that I may have missed. Also note the switch to main as the default branch that contains the source code.


Preview | Diff

markafoltz commented 2 years ago

Looks like things are working from a quick glance. Thank you tor upgrading our publication flow @tidoust :-)