Skip to content

ci: add mkdocs-build job #2

ci: add mkdocs-build job

ci: add mkdocs-build job #2

Workflow file for this run

name: build mkdocs
on:
pull_request:
types: [opened, synchronize, reopened, edited, ready_for_review]
branches:
- development
- main
jobs:
build-mkdocs:
if: github.event.pull_request.draft == false
runs-on:
- self-hosted
continue-on-error: true
container:
image: osrf/ros:jazzy-desktop-full
steps:
- uses: actions/checkout@v4
with:
clean: true
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 2.1.1
- name: Install python dependencies
run: poetry install --with docs
- name: Build docs
shell: bash
run: |
poetry run mkdocs build --strict