-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from w3c/autopublish
chore: enable auto-publish
- Loading branch information
Showing
4 changed files
with
37 additions
and
34 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 |
---|---|---|
@@ -1,12 +1,23 @@ | ||
name: CI | ||
name: Node CI | ||
|
||
on: | ||
pull_request: {} | ||
push: | ||
branches: ["gh-pages"] | ||
branches: | ||
- gh-pages | ||
pull_request: {} | ||
|
||
jobs: | ||
main: | ||
name: Build and Validate | ||
runs-on: ubuntu-20.04 | ||
validate-and-publish: | ||
name: Validate and Publish | ||
runs-on: ubuntu-latest # only linux supported at present | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: w3c/spec-prod@v2 | ||
with: | ||
TOOLCHAIN: respec | ||
VALIDATE_LINKS: true | ||
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} | ||
W3C_WG_DECISION_URL: "https://lists.w3.org/Archives/Public/public-webapps/2014JulSep/0627.html" | ||
W3C_NOTIFICATIONS_CC: "${{ secrets.CC }}" | ||
W3C_BUILD_OVERRIDE: | | ||
specStatus: WD |
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,20 @@ | ||
name: Tidy document | ||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- gh-pages | ||
|
||
jobs: | ||
tidy: | ||
name: Tidy up | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: brew install tidy-html5 | ||
- run: tidy -config tidyconfig.txt -o index.html index.html | ||
- uses: peter-evans/create-pull-request@v3 | ||
with: | ||
title: "Tidied up document using tidy-html5" | ||
commit-message: "chore: tidy up index.html" | ||
branch: html-tidy |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.