diff --git a/.editorconfig b/.editorconfig index 625d610..df39c7c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,6 +12,9 @@ max_line_length = 100 [Makefile] indent_style = tab +[*.md] +max_line_length = off + [*.bs] indent_size = 1 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af3476e..66fe55b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,5 @@ name: Build + on: pull_request: branches: @@ -6,6 +7,8 @@ on: push: branches: - main + workflow_dispatch: + jobs: build: name: Build @@ -17,6 +20,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.11" + - run: pip install bikeshed && bikeshed update # Note: `make deploy` will do a deploy dry run on PRs. - run: make deploy env: diff --git a/Makefile b/Makefile index 3ee8c9f..e964b98 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ remote: encoding.bs ); local: encoding.bs - bikeshed spec encoding.bs encoding.html --md-Text-Macro="COMMIT-SHA LOCAL COPY" + bikeshed spec encoding.bs encoding.html --md-Text-Macro="COMMIT-SHA LOCAL-COPY" deploy: encoding.bs curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh