Merge pull request #520 from dginev/main #354
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
# Based on | |
# https://github.com/w3c/echidna/wiki/How-to-use-Echidna | |
# and | |
# https://w3c.github.io/spec-prod/#examples | |
name: CI | |
on: | |
pull_request: {} | |
push: | |
branches: [main] | |
jobs: | |
main: | |
name: Deploy to GitHub pages | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
git fetch | |
git checkout gh-pages | |
git reset main --hard | |
git push -f | |
- uses: w3c/spec-prod@v2 | |
with: | |
GH_PAGES_BRANCH: gh-pages | |
TOOLCHAIN: respec | |
SOURCE: spec.html | |
DESTINATION: index.html | |
VALIDATE_MARKUP: false | |
publish: | |
name: Build, Validate and Deploy | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: w3c/spec-prod@v2 | |
with: | |
TOOLCHAIN: respec | |
SOURCE: spec.html | |
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} | |
W3C_WG_DECISION_URL: hhttps://www.w3.org/mid/CAESRWkCboGW4E4RmntSs7UZWx9UZxmGH=1GNKq1Gg7MyfQcMdA@mail.gmail.com | |
ARTIFACT_NAME: spec-prod-result2 | |
W3C_BUILD_OVERRIDE: | | |
specStatus: WD | |
shortName: mathml4 | |