Add github workflow to publish to gh-pages branch
This should auto process the bikeshed on push to main and publish to the gh-pages branch. Also updating the WebIDL to pass validation.
This commit is contained in:
parent
5d400f8d1e
commit
f8448c38fd
|
@ -0,0 +1,19 @@
|
||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
pull_request: {}
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
name: Build, Validate and Deploy
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: w3c/spec-prod@v2
|
||||||
|
with:
|
||||||
|
TOOLCHAIN: bikeshed
|
||||||
|
GH_PAGES_BRANCH: gh-pages
|
||||||
|
SOURCE: docs/spec.bs
|
||||||
|
DESTINATION: index.html
|
|
@ -9,4 +9,4 @@ const attestation = await navigator.getEnvironmentIntegrity("...");
|
||||||
|
|
||||||
The [explainer](./explainer.md) goes gives a high level overview of the proposal.
|
The [explainer](./explainer.md) goes gives a high level overview of the proposal.
|
||||||
|
|
||||||
The [spec](./docs/spec) currently describes how this is being prototyped in Chromium.
|
The [spec](./docs/spec.bs) currently describes how this is being prototyped in Chromium.
|
||||||
|
|
|
@ -71,6 +71,7 @@ stores state in the [=Integrity verdict=] that can be used for cross site tracki
|
||||||
## {{AttesterConnection}} ## {#attester-connection}
|
## {{AttesterConnection}} ## {#attester-connection}
|
||||||
|
|
||||||
<xmp class="idl">
|
<xmp class="idl">
|
||||||
|
[Exposed=Window]
|
||||||
interface AttesterConnection {
|
interface AttesterConnection {
|
||||||
ArrayBuffer getAttestation(DOMString contentBinding);
|
ArrayBuffer getAttestation(DOMString contentBinding);
|
||||||
};
|
};
|
||||||
|
@ -111,6 +112,7 @@ stores state in the [=Integrity verdict=] that can be used for cross site tracki
|
||||||
## {{EnvironmentIntegrity}} ## {#environment-integrity}
|
## {{EnvironmentIntegrity}} ## {#environment-integrity}
|
||||||
|
|
||||||
<xmp class="idl">
|
<xmp class="idl">
|
||||||
|
[Exposed=Window]
|
||||||
interface EnvironmentIntegrity {
|
interface EnvironmentIntegrity {
|
||||||
readonly attribute ArrayBuffer attestationToken;
|
readonly attribute ArrayBuffer attestationToken;
|
||||||
DOMString encode();
|
DOMString encode();
|
3176
docs/spec/index.html
3176
docs/spec/index.html
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue