Skip to content

adding fix for SystemMessages.spec.js, advancedSearchUtils.spec.js, s… #5976

adding fix for SystemMessages.spec.js, advancedSearchUtils.spec.js, s…

adding fix for SystemMessages.spec.js, advancedSearchUtils.spec.js, s… #5976

Workflow file for this run

name: Doc
on:
push:
branches-ignore:
- 'master'
# CRITICAL: Allow the action to push changes back to the branch
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Fetches all history so the commit can be merged/pushed correctly
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install Dependencies
# Faster and more reliable for CI
run: npm ci
- name: Run the documentation
run: npm run doc:full
- name: Commit and Push Changes
# This is a more modern and robust way to handle autogenerated files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'docs: autogenerated documentation files'
# Adjust this to point to where your docs are actually generated
file_pattern: 'documentation/**/*'
branch: ${{ github.head_ref }}