Skip to content

Commit

Permalink
ghaction
Browse files Browse the repository at this point in the history
  • Loading branch information
himorin committed Apr 5, 2023
1 parent ac4d056 commit d905734
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build, and publish spec to GitHub Pages and /TR/

on:
pull_request: {}
push:
branches: [main]
paths:
- 'images/**'
- 'index.bs'

jobs:
main:
name: Build, Validate and Deploy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: w3c/spec-prod@v2
with:
TOOLCHAIN: bikeshed
SOURCE: index.bs
DESTINATION: index.html
GH_PAGES_BRANCH: gh-pages
# not passed FPWD
# W3C_ECHIDNA_TOKEN: ${{ secrets.W3C_TR_TOKEN }}
# W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-immersive-web-wg/2021Sep/0004.html
# W3C_BUILD_OVERRIDE: |
# status: CRD

# not set 'warning' to BUILD_FAIL_ON (not to cause error by bikeshed warning?)

0 comments on commit d905734

Please sign in to comment.