Skip to content

accessibility stuff, printing, search #13

accessibility stuff, printing, search

accessibility stuff, printing, search #13

Workflow file for this run

name: Build Documentation Index
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
if: github.actor != 'github-actions[bot]'
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Build docs
run: node build-docs.js
- name: Check for changes
id: check_changes
run: |
git diff --quiet index.json || echo "changes=true" >> $GITHUB_OUTPUT
- name: Commit and push if changed
if: steps.check_changes.outputs.changes == 'true'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add index.json
git commit -m "Update documentation index"
git push