Skip to content

Commit

Permalink
fixed documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbed committed Mar 28, 2023
1 parent 298f057 commit dc403f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ jobs:
pip install exhale
- name: Build doxygen
run: |
cd ./documentation/doxygen/
cd ./ethercat_driver_ros2/doxygen/
doxygen
cd ../..
- name: Build documentation
run: |
cd ./documentation/sphinx/
cd ./ethercat_driver_ros2/sphinx/
make html
cd ../..
- name: Create commit
run: |
git clone https://github.com/ICube-Robotics/ethercat_driver_ros2.git --branch gh-pages --single-branch gh-pages
mkdir -p gh-pages/docs/
mkdir -p gh-pages/api/
cp -r ./documentation/sphinx/_build/html/* gh-pages/
cp -r ./documentation/doxygen/_build/html/* gh-pages/api/
cp -r ./ethercat_driver_ros2/sphinx/_build/html/* gh-pages/
cp -r ./ethercat_driver_ros2/doxygen/_build/html/* gh-pages/api/
cd gh-pages
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
Expand Down

0 comments on commit dc403f1

Please sign in to comment.