Skip to content

Commit 9eddc2c

Browse files
chore: enable auto-publish (#72)
1 parent 7051c37 commit 9eddc2c

File tree

4 files changed

+43
-26
lines changed

4 files changed

+43
-26
lines changed

.github/workflows/auto-publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Node CI
2+
3+
on:
4+
push:
5+
branches:
6+
- gh-pages
7+
pull_request: {}
8+
9+
jobs:
10+
validate-and-publish:
11+
name: Validate and Publish
12+
runs-on: ubuntu-latest # only linux supported at present
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: w3c/spec-prod@v2
16+
with:
17+
TOOLCHAIN: respec
18+
VALIDATE_LINKS: true
19+
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }}
20+
W3C_WG_DECISION_URL: "https://lists.w3.org/Archives/Public/public-webapps/2014JulSep/0627.html"
21+
W3C_NOTIFICATIONS_CC: "${{ secrets.CC }}"
22+
W3C_BUILD_OVERRIDE: |
23+
specStatus: WD

.github/workflows/tidy.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Tidy document
2+
on:
3+
workflow_dispatch: {}
4+
push:
5+
branches:
6+
- gh-pages
7+
8+
jobs:
9+
tidy:
10+
name: Tidy up
11+
runs-on: macos-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- run: brew install tidy-html5
15+
- run: tidy -config tidyconfig.txt -o index.html index.html
16+
- uses: peter-evans/create-pull-request@v3
17+
with:
18+
title: "chore(tidy): tidy up document"
19+
commit-message: "Tidied up document using tidy-html5"
20+
branch: html-tidy

.travis.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

ECHIDNA

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)