docs(setup): add docs for "generic" Ubuntu binary #234
Workflow file for this run
This file contains 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 and deploy GitHub Pages preview for PRs | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- closed | |
paths: | |
- "book.toml" | |
- "docs/**" | |
- ".github/actions/build-mdbook/action.yaml" | |
- ".github/workflows/pages-preview.yaml" | |
concurrency: preview-${{ github.ref }} | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
preview: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/build-mdbook | |
if: github.event.action != 'closed' | |
- name: Deploy preview | |
uses: rossjrw/[email protected] | |
with: | |
source-dir: build/html |