Skip to content

Commit

Permalink
Configure GitHub Actions (#541)
Browse files Browse the repository at this point in the history
* Configure GitHub Actions

This change configures GitHub Actions to build the specification and associated documents using Bikeshed through [Spec Prod](https://github.com/w3c/spec-prod).

* Address @jyasskin's feedback
  • Loading branch information
reillyeon authored Mar 31, 2021
1 parent a03580e commit 3f8e2ea
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/pr-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI
on:
pull_request: {}
push:
branches: [main]
jobs:
main:
name: Build, Validate and Deploy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: index.bs
uses: w3c/spec-prod@v2
with:
SOURCE: index.bs
DESTINATION: index.html
TOOLCHAIN: bikeshed
BUILD_FAIL_ON: warning
GH_PAGES_BRANCH: gh-pages
- name: scanning.bs
uses: w3c/spec-prod@v2
with:
SOURCE: scanning.bs
DESTINATION: scanning.html
TOOLCHAIN: bikeshed
BUILD_FAIL_ON: warning
GH_PAGES_BRANCH: gh-pages
- name: tests.bs
uses: w3c/spec-prod@v2
with:
SOURCE: tests.bs
DESTINATION: tests.html
TOOLCHAIN: bikeshed
BUILD_FAIL_ON: warning
GH_PAGES_BRANCH: gh-pages
- name: use-cases.bs
uses: w3c/spec-prod@v2
with:
SOURCE: use-cases.bs
DESTINATION: use-cases.html
TOOLCHAIN: bikeshed
BUILD_FAIL_ON: warning
GH_PAGES_BRANCH: gh-pages

0 comments on commit 3f8e2ea

Please sign in to comment.