regen html #5
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
name: Auto-publish | |
on: | |
push: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
main: | |
name: Build, Validate and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: w3c/spec-prod@v2 | |
with: | |
GH_PAGES_BRANCH: gh-pages | |
TOOLCHAIN: bikeshed | |
VALIDATE_LINKS: false | |
BUILD_FAIL_ON: warning | |
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-webmachinelearning-wg/2021Jun/0011.html | |
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} | |
W3C_BUILD_OVERRIDE: | | |
TR: https://www.w3.org/TR/webnn/ | |
status: CRD | |
- name: WebNN - Validate Bikeshed Source and Generated HTML | |
shell: bash | |
env: | |
BIKESHED_SOURCE: "index.bs" | |
GENERATED_HTML: "index.bs.built.html" | |
run: | | |
echo "::group::Lint Bikeshed Source and Generated Static HTML" | |
cd tools | |
npm install | |
cd .. | |
bikeshed --die-on=warning spec $BIKESHED_SOURCE $GENERATED_HTML | |
node tools/lint.mjs --verbose --bikeshed $BIKESHED_SOURCE --html $GENERATED_HTML | |
echo "::endgroup::" |