diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af3476e83..66fe55be9 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 03cc1a541..7544749f7 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ remote: index.bs ); local: index.bs - bikeshed spec index.bs index.html --md-Text-Macro="COMMIT-SHA LOCAL COPY" + bikeshed spec index.bs index.html --md-Text-Macro="COMMIT-SHA LOCAL-COPY" deploy: index.bs curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh