Merge pull request #9 from MarkOnFire/claude/add-suggested-tools-dl9GU #2
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: Build suggested tools | |
| on: | |
| push: | |
| paths: | |
| - 'suggested-tools.md' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build suggested tools HTML | |
| run: node scripts/build-suggested-tools.js | |
| - name: Commit changes (if any) | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git diff --quiet && exit 0 | |
| git add index.html formatter/index.html og-image/index.html | |
| git commit -m "Rebuild suggested tools from suggested-tools.md" | |
| git push |