Skip to content

Commit c99f911

Browse files
CI: Use GitHub Actions to build/validate/publish (w3c#15)
This change adds CI automation for building, validating and publishing the document using the https://github.com/w3c/spec-prod tooling.
1 parent 76018ad commit c99f911

File tree

3 files changed

+19
-2794
lines changed

3 files changed

+19
-2794
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CI
2+
on:
3+
pull_request: {}
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
main:
9+
name: Build, Validate, and Publish
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: w3c/spec-prod@v2
14+
with:
15+
GH_PAGES_BRANCH: gh-pages
16+
BUILD_FAIL_ON: nothing
17+
VALIDATE_LINKS: false
18+
VALIDATE_MARKUP: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
index.html

0 commit comments

Comments
 (0)