Update benchmarks.md #200
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: Documentation | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # To push to gh-pages branch | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install mdBook | |
| uses: peaceiris/actions-mdbook@v2 | |
| with: | |
| mdbook-version: 'latest' | |
| - name: Sync README and Build | |
| run: | | |
| # Sync README.md to docs/README.md and fix links | |
| # Replace "(docs/" with "(" to fix relative links | |
| sed 's/(docs\//(/' README.md > docs/README.md | |
| # Build the book | |
| mdbook build | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./book |