Skip to content

Commit 94f3b3e

Browse files
Switch to GitHub Actions build-validate-publish (#100)
This switches CI for the repo away from Travis and over to GitHub Actions, using the common tooling from https://github.com/w3c/spec-prod It also removes the index.html file from version control in the repo — because with the w3c/spec-prod setup, we can autopublish the generated spec on every push, without needing to keep the generated output under version control in the repo.
1 parent d9ff2bb commit 94f3b3e

File tree

4 files changed

+19
-2633
lines changed

4 files changed

+19
-2633
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

.travis.yml

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

0 commit comments

Comments
 (0)