From f3280f56fdb64029d9d51f72076e392039078d3c Mon Sep 17 00:00:00 2001 From: himorin / Atsushi Shimono Date: Sun, 15 Feb 2026 22:14:48 +0900 Subject: [PATCH 1/5] Use spec-prod for deploy GHAction --- .github/workflows/deploy.yml | 37 +++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2641498..0b225ba 100755 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,23 +1,26 @@ -name: Build and Deploy +name: Build, and publish spec to GitHub Pages and /TR/ + on: + pull_request: {} push: - branches: - - main + branches: [main] + paths: + - 'logo/**' + - 'index.bs' + jobs: - build-and-deploy: + main: + name: Build, Validate and Deploy runs-on: ubuntu-latest steps: - - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false - - - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. - run: make - - name: Prepare Deploy folder - run: mkdir deploy && rsync -av --exclude=.git --exclude=.gitignore --exclude=deploy . deploy/ - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.0.0 + - uses: actions/checkout@v2 + - uses: w3c/spec-prod@v2 with: - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: deploy # The folder the action should deploy. + TOOLCHAIN: bikeshed + SOURCE: index.bs + DESTINATION: index.html + GH_PAGES_BRANCH: gh-pages +# W3C_ECHIDNA_TOKEN: ${{ secrets.W3C_TR_TOKEN }} +# W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-tt/XXXX +# W3C_BUILD_OVERRIDE: | +# status: CRD From 41ac609c52e4460205411a3546695340d39b8e3c Mon Sep 17 00:00:00 2001 From: himorin / Atsushi Shimono Date: Sun, 15 Feb 2026 22:16:08 +0900 Subject: [PATCH 2/5] Delete .gitmodules --- .gitmodules | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29..0000000 From 360a52e2fe5c2162a2775f7e8d94f210213bf4ed Mon Sep 17 00:00:00 2001 From: himorin / Atsushi Shimono Date: Sun, 15 Feb 2026 22:16:47 +0900 Subject: [PATCH 3/5] Delete Makefile for use of spec-prod --- Makefile | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 1aae000..0000000 --- a/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -.PHONY: all index.html - -all: index.html - -# build using api.csswg.org but not local bikeshed -index.html: index.bs - curl https://api.csswg.org/bikeshed/ -F file=@index.bs -F output=err - curl https://api.csswg.org/bikeshed/ -F file=@index.bs -F force=1 > index.html | tee From 3152e5aadb266321c6b01cc7dac2ef0cc1906e8a Mon Sep 17 00:00:00 2001 From: himorin / Atsushi Shimono Date: Sun, 15 Feb 2026 22:17:11 +0900 Subject: [PATCH 4/5] Delete W3CTRMANIFEST.txt for use of spec-prod --- W3CTRMANIFEST.txt | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 W3CTRMANIFEST.txt diff --git a/W3CTRMANIFEST.txt b/W3CTRMANIFEST.txt deleted file mode 100644 index dbcefe6..0000000 --- a/W3CTRMANIFEST.txt +++ /dev/null @@ -1,2 +0,0 @@ -index.html?specStatus=WD&shortName=webvtt1 respec -webvtt-region-diagram.png From 616613ff83f0b04db5ccb564adda0af6b3e3f8c8 Mon Sep 17 00:00:00 2001 From: himorin / Atsushi Shimono Date: Sun, 15 Feb 2026 22:18:11 +0900 Subject: [PATCH 5/5] adding images to GHAction paths --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0b225ba..1c5f860 100755 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,7 @@ on: push: branches: [main] paths: + - '**png' - 'logo/**' - 'index.bs'