updating title and description files #5980
This file contains hidden or 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: 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 }} |