Change Script Enforcement Mechanism to use flags #231
Workflow file for this run
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: Generate spec | |
on: | |
push: | |
branches: [main] | |
paths: | |
- 'spec/**' | |
pull_request: | |
paths: | |
- 'spec/**' | |
jobs: | |
generate: | |
name: Generate spec | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: w3c/spec-prod@v2 | |
with: | |
TOOLCHAIN: bikeshed | |
SOURCE: spec/index.bs | |
DESTINATION: dist/spec | |
BUILD_FAIL_ON: link-error | |
VALIDATE_WEBIDL: false # reffy v4 cannot correctly parse current bikeshed generated IDL. https://github.com/w3c/spec-prod/pull/155 would fix it. | |
GH_PAGES_BRANCH: gh-pages # deploy only happens on push trigger. |