feat: add ROS 2 Lyrical Luth (LTS) distro support #120
Workflow file for this run
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: MkDocs Preview | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, closed] | |
| paths: | |
| - 'docs/**' | |
| - 'mkdocs.yml' | |
| - '**.md' | |
| concurrency: | |
| group: mkdocs-preview-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| deploy-preview: | |
| name: Deploy MkDocs Preview | |
| runs-on: ubuntu-latest | |
| # Only run for PRs from the same repository (not forks) | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| if: github.event.action != 'closed' | |
| uses: cachix/install-nix-action@v31 | |
| - name: Build MkDocs documentation | |
| if: github.event.action != 'closed' | |
| run: | | |
| nix develop '.#pureRust-ci' -c mkdocs build --strict | |
| - name: Deploy MkDocs preview | |
| uses: rossjrw/pr-preview-action@v1 | |
| with: | |
| source-dir: ./site | |
| preview-branch: gh-pages | |
| umbrella-dir: pr-preview |