swap index.html and spec.html #69
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
# https://w3c.github.io/spec-prod/#examples | |
# Create a file called .github/workflows/auto-publish.yml | |
name: CI | |
on: | |
push: | |
branches: [main] | |
jobs: | |
main: | |
name: Deploy to GitHub pages | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- 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 | |