forked from w3c/remote-playback
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable auto-publication of the spec to /TR
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](https://github.com/w3c/spec-prod/) 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 (fixing w3c#137). The spec-prod action also takes care of running ReSpec on pull requests to validate changes from an editorial perspective. Note the `ECHIDNA_TOKEN` was added as secret to the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Build, Validate, Deploy and Publish | ||
on: | ||
pull_request: {} | ||
push: | ||
branches: [main] | ||
jobs: | ||
main: | ||
name: Build and validate spec, then deploy and publish (only if push to main branch) | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: w3c/spec-prod@v2 | ||
with: | ||
GH_PAGES_BRANCH: gh-pages | ||
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} | ||
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-secondscreen/2022Apr/0007.html | ||
W3C_BUILD_OVERRIDE: | | ||
specStatus: CRD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters