From 1fe6e738d770f31c4b5c539fa558065cf9dea9fa Mon Sep 17 00:00:00 2001 From: siusin Date: Fri, 27 Sep 2024 03:24:26 +0800 Subject: [PATCH 1/3] set up auto-publication --- .github/workflows/auto-publish.yml | 23 +++++++++++++++++++++++ .github/workflows/tidy.yml | 21 +++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .github/workflows/auto-publish.yml create mode 100644 .github/workflows/tidy.yml diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml new file mode 100644 index 0000000..2babc35 --- /dev/null +++ b/.github/workflows/auto-publish.yml @@ -0,0 +1,23 @@ +name: Node CI + +on: + push: + branches: + - gh-pages + pull_request: {} + +jobs: + validate-and-publish: + name: Validate and Publish + runs-on: ubuntu-latest # only linux supported at present + steps: + - uses: actions/checkout@v2 + - uses: w3c/spec-prod@v2 + with: + TOOLCHAIN: respec + VALIDATE_LINKS: true + W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} + W3C_WG_DECISION_URL: "https://lists.w3.org/Archives/Public/public-webapps/2014JulSep/0627.html" + W3C_NOTIFICATIONS_CC: "${{ secrets.CC }}" + W3C_BUILD_OVERRIDE: | + specStatus: WD diff --git a/.github/workflows/tidy.yml b/.github/workflows/tidy.yml new file mode 100644 index 0000000..0bcf977 --- /dev/null +++ b/.github/workflows/tidy.yml @@ -0,0 +1,21 @@ +name: Tidy document +on: + workflow_dispatch: {} + push: + branches: + - gh-pages + +jobs: + tidy: + name: Tidy up + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install tidy/html5 + run: sudo apt-get install -y tidy + - run: tidy -config tidyconfig.txt -o index.html index.html + - uses: peter-evans/create-pull-request@v5 + with: + title: "Tidied up document using tidy-html5" + commit-message: "chore: tidy up index.html" + branch: html-tidy From 44328786d7c8c016477b3474f4ab5f8930112235 Mon Sep 17 00:00:00 2001 From: siusin Date: Fri, 27 Sep 2024 05:07:17 +0800 Subject: [PATCH 2/3] add a manifest for auto-pub --- echidna-manifest.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 echidna-manifest.txt diff --git a/echidna-manifest.txt b/echidna-manifest.txt new file mode 100644 index 0000000..490e781 --- /dev/null +++ b/echidna-manifest.txt @@ -0,0 +1,3 @@ +index.html?specStatus=WG&shortName=edit-context respec +images/many-input-methods.jpg +images/text-input-process.jpg From 183ed1613475e471999ddbaef93db30935ee3308 Mon Sep 17 00:00:00 2001 From: siusin Date: Fri, 27 Sep 2024 05:17:47 +0800 Subject: [PATCH 3/3] manifest is no longer needed for echidna --- echidna-manifest.txt | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 echidna-manifest.txt diff --git a/echidna-manifest.txt b/echidna-manifest.txt deleted file mode 100644 index 490e781..0000000 --- a/echidna-manifest.txt +++ /dev/null @@ -1,3 +0,0 @@ -index.html?specStatus=WG&shortName=edit-context respec -images/many-input-methods.jpg -images/text-input-process.jpg