feat(gpu): add bounded chip proving lanes #241
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: Deploy mdBook | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| paths: | |
| - docs/** | |
| types: [ opened, synchronize, reopened, ready_for_review, closed ] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build_check: | |
| if: ${{ github.event.action != 'closed' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install mdBook | |
| run: | | |
| curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.5.2/mdbook-v0.5.2-x86_64-unknown-linux-gnu.tar.gz \ | |
| | tar -xz -C /usr/local/bin | |
| - name: Build book | |
| run: mdbook build docs | |
| deploy: | |
| if: ${{ github.event.action == 'closed' && github.event.pull_request.merged == true }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install mdBook | |
| run: | | |
| curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.5.2/mdbook-v0.5.2-x86_64-unknown-linux-gnu.tar.gz \ | |
| | tar -xz -C /usr/local/bin | |
| - name: Build book | |
| run: mdbook build docs | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: docs/book |