Repository navigation
Add NatWest Group as Known Instance across three patterns #1464
Workflow file for this run
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: Gitbook Generation | ||
|
Check warning on line 1 in .github/workflows/book.yml
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request_target: | ||
| branches: | ||
| - main | ||
| jobs: | ||
| gitbook-generation: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| language: [en, ja, zh, pt-br, gl, es] | ||
| steps: | ||
| - uses: actions/checkout@v7 | ||
| - uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: '2.6' | ||
| working-directory: 'book/scripts/' | ||
| bundler-cache: true | ||
| - name: Generate ToC | ||
| run: | | ||
| cd book/scripts/ | ||
| ruby generate_toc.rb ${{ matrix.language }} | ||
| echo "Generated book for: ${{ matrix.language }}" >> $GITHUB_STEP_SUMMARY | ||
| - name: Commit updated toc.md for the book | ||
| uses: stefanzweifel/git-auto-commit-action@v7 | ||
| with: | ||
| commit_message: Writing updated toc.md for the ${{ matrix.language }} book | ||
| branch: ${{ github.head_ref }} | ||