Skip to content

✏️ ros_typedb match->fetch (v2.27.0) #43

✏️ ros_typedb match->fetch (v2.27.0)

✏️ ros_typedb match->fetch (v2.27.0) #43

Workflow file for this run

name: documentation
on:
pull_request:
push:
branches:
- main
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- uses: ros-tooling/[email protected]
id: action_ros_ci_step
with:
package-name: ros_typedb
target-ros2-distro: humble
skip-tests: true
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser sphinx-autopackagesummary sphinx-autodoc-typehints typedb-driver
- name: Sphinx build
run: |
source ${{ steps.action_ros_ci_step.outputs.ros-workspace-directory-name }}/install/setup.bash && sphinx-build docs/source docs/build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/
force_orphan: true