diff --git a/.github/workflows/respec.yaml b/.github/workflows/respec.yaml index 0b62909990..71726f06d6 100644 --- a/.github/workflows/respec.yaml +++ b/.github/workflows/respec.yaml @@ -8,11 +8,17 @@ name: respec # on the gh-pages branch when the corresponding markdown files change. # -# run this on push to main +# run this on push to main for spec-relevant files on: push: branches: - main + paths: + - 'versions/*.md' + - 'scripts/md2html/**' + - '.github/workflows/respec.yaml' + - 'package.json' + - 'package-lock.json' workflow_dispatch: {} jobs: diff --git a/scripts/md2html/build.sh b/scripts/md2html/build.sh index 68bedf9bc6..8bbc4318d7 100755 --- a/scripts/md2html/build.sh +++ b/scripts/md2html/build.sh @@ -58,9 +58,11 @@ for specification in $specifications; do node scripts/md2html/md2html.js --maintainers $maintainers $specification "$allVersions" > $tempfile npx respec --no-sandbox --use-local --src $tempfile --out $tempfile2 - # remove unwanted Google Tag Manager and Google Analytics scripts + # remove unwanted Google Tag Manager and Google Analytics scripts, non-deterministic changes, and ReSpec minor version sed -e 's/