Skip to content

Commit

Permalink
Merge pull request #106 from siusin/gh-pages
Browse files Browse the repository at this point in the history
set up auto-publication
  • Loading branch information
siusin authored Sep 26, 2024
2 parents 365bbe3 + 183ed16 commit 9c160ac
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9c160ac

Please sign in to comment.