Skip to content

Add CI for ROS2.

Add CI for ROS2. #66

Workflow file for this run

name: Documentation
on:
push:
branches: [ jazzy ]
pull_request:
branches: [ jazzy ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup
run: |
sudo apt-get update && sudo apt-get install -y git doxygen graphviz python3-sphinx python3-breathe python3-sphinx-rtd-theme
- name: Build documentation
run: |
cd docs && make html
- uses: actions/upload-pages-artifact@v1
with:
name: github-pages
path: docs/_build/html
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4