From d90573489476ed57f8daa6bd5e1a5afbeeac5755 Mon Sep 17 00:00:00 2001 From: Atsushi Shimono Date: Wed, 5 Apr 2023 17:18:26 +0900 Subject: [PATCH] ghaction --- .github/workflows/auto-publish.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/auto-publish.yml diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml new file mode 100644 index 0000000..d00d683 --- /dev/null +++ b/.github/workflows/auto-publish.yml @@ -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?) +