Revert "Change Script Enforcement Mechanism to use flags (#533)" (#565) #263
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-latest | |
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. |