Skip to content

Commit

Permalink
doxygen workflow and dockerfile fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Dec 13, 2024
1 parent 5b0d850 commit 2ddb721
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/doxygen-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,19 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Generate Doxygen
- name: Generate Doxygen for C++
uses: mattnotmitt/doxygen-action@edge
with:
doxyfile-path: ".github/Doxyfile"
doxyfile-path: ".github/Doxyfile-cpp"

- name: Generate Doxygen for Python
uses: mattnotmitt/doxygen-action@edge
with:
doxyfile-path: ".github/Doxyfile-python"

- name: Deploy Doxygen page
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: docs/html
publish_dir: docs
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ COPY . /root/ros2_ws/src
# install dependencies
RUN source /opt/ros/${ROS_DISTRO}/setup.bash
RUN apt-get update
RUN rosdep update && rosdep install --from-paths src --ignore-src -r -y
RUN if [ "$ROS_DISTRO" = "foxy" ] || [ "$ROS_DISTRO" = "galactic" ] || [ "$ROS_DISTRO" = "rolling" ]; then \
apt install -y ros-$ROS_DISTRO-example-interfaces; \
fi
RUN rosdep update && rosdep install --from-paths src --ignore-src -r -y --include-eol-distros

# colcon the ws
FROM deps AS builder
Expand Down

0 comments on commit 2ddb721

Please sign in to comment.