Merge pull request #134 from model-checking/dependabot/npm_and_yarn/m… #566
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: Publish CBMC Proof Debugger documentation | |
| on: [push, pull_request] | |
| permissions: | |
| contents: write | |
| pages: write | |
| jobs: | |
| publish: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Install mdbook | |
| run: brew install mdbook | |
| - name: Build documentation | |
| run: cd docs && mdbook build && touch book/.nojekyll | |
| - name: Publish documentation | |
| if: ${{ github.event_name == 'push' && startsWith('refs/heads/main', github.ref) }} | |
| uses: JamesIves/github-pages-deploy-action@v4.8.0 | |
| with: | |
| branch: gh-pages | |
| folder: docs/book/ |