Update auto-publish.yml #7
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
# Blindly copy/pasted from https://w3c.github.io/spec-prod/#deploy-to-github-pages | |
# and https://github.com/w3c-fedid/FedCM/blob/main/.github/workflows/build-validate-publish.yaml | |
name: CI | |
on: | |
pull_request: {} | |
push: | |
branches: [main] | |
jobs: | |
main: | |
name: Build, Validate and Deploy | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: w3c/spec-prod@v2 | |
with: | |
GH_PAGES_BRANCH: gh-pages | |
BUILD_FAIL_ON: nothing |