-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Automatic publication | ||
on: | ||
# Worflow runs on pull requests where it makes sure that the spec can be | ||
# generated, that markup and IDL are valid, as well as on pushes to the | ||
# default branch where it also deploys the generated spec to the gh-pages | ||
# branch and publishes the result to /TR. | ||
# The "workflow_dispatch" hook allows repo admins to trigger the workflow | ||
# manually if needed. | ||
pull_request: {} | ||
push: | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
main: | ||
name: Build, validate and deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build, validate and deploy spec | ||
uses: w3c/spec-prod@v2 | ||
with: | ||
TOOLCHAIN: respec | ||
SOURCE: index.html | ||
DESTINATION: index.html | ||
GH_PAGES_BRANCH: gh-pages | ||
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} | ||
W3C_WG_DECISION_URL: https://github.com/w3c/media-wg/issues/27 | ||
W3C_BUILD_OVERRIDE: | | ||
specStatus: NOTE |