core-aam #17
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
name: core-aam | |
on: | |
push: | |
branches: [main] | |
paths: ['core-aam/**'] | |
workflow_dispatch: | |
jobs: | |
main: | |
name: Publish core-aam to github pages | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: w3c/spec-prod@v2 | |
with: | |
SOURCE: core-aam/index.html | |
TOOLCHAIN: respec | |
# W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }} | |
# W3C_WG_DECISION_URL: https://lists.w3.org/Archives/Public/public-aria-admin/2018Sep/0011.html | |
GH_PAGES_BRANCH: gh-pages | |
VALIDATE_WEBIDL: false | |
VALIDATE_MARKUP: true | |
ARTIFACT_NAME: 'core-aam' | |
copy-to-core-aam-gh-pages: | |
name: Copy to core-aam gh-pages | |
runs-on: ubuntu-20.04 | |
needs: main | |
steps: | |
- name: Checkout core-aam repo | |
uses: actions/checkout@v4 | |
with: | |
repository: daniel-montalvo/core-aam/ | |
ref: gh-pages | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Download artifacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: 'core-aam' | |
- name: unzip Artifact | |
run: | | |
unzip core-aam.zip | |
rm core-aam.zip | |
- name: Commit changes | |
run: | | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "GitHub Actions" | |
git add . | |
git commit -m "Update core-aam" |