Skip to content

Commit

Permalink
CI: Switch to using GitHub Actions
Browse files Browse the repository at this point in the history
This change switches the CI setup for the repo away from Travis and over
to GitHub Actions, using https://github.com/w3c/spec-prod

It also renames the spec source file to index.bs, to follow Bikeshed
naming conventions, and it removes the generated output file
(index.html) from version control in the repo.
  • Loading branch information
sideshowbarker committed Mar 12, 2021
1 parent be8cd56 commit 43fa32d
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 2,390 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-validate-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI
on:
pull_request: {}
push:
branches: [main]

jobs:
main:
name: Build, Validate, and Publish
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: w3c/spec-prod@v2
with:
GH_PAGES_BRANCH: gh-pages
BUILD_FAIL_ON: nothing
VALIDATE_LINKS: false
VALIDATE_MARKUP: true
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }}
W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-webappsec/2015Mar/0170.html
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
index.html
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
all: index.html

force:
bikeshed -f spec ./index.src.html
bikeshed -f spec ./index.bs

index.html: index.src.html
bikeshed -f spec ./index.src.html
index.html: index.bs
bikeshed -f spec ./index.bs

CR: index.src.html
bikeshed -f spec --md-status=CR --md-date=2015-10-08 --md-deadline=2015-11-08 ./index.src.html ./published/2015-10-CR.html
CR: index.bs
bikeshed -f spec --md-status=CR --md-date=2015-10-08 --md-deadline=2015-11-08 ./index.bs ./published/2015-10-CR.html

publish:
git push origin master master:gh-pages
clean:
$(RM) index.html

File renamed without changes.

0 comments on commit 43fa32d

Please sign in to comment.