From 53838596efeb2b79f121e219a67679b2285edcf9 Mon Sep 17 00:00:00 2001 From: TechRufy Date: Sun, 19 Apr 2026 17:37:33 +0200 Subject: [PATCH 1/4] first test --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 621ba4df2..c5673cf30 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -89,7 +89,7 @@ jobs: package_doc_path="$ROSDOC2_OUTPUT/$package_name/index.html" if grep -q "rosdoc2" "$f"; then echo "Building $package_name with rosdoc2" - rosdoc2 build -p "$package_dir" -o "$ROSDOC2_OUTPUT/" > /dev/null 2>&1 + rosdoc2 build -p "$package_dir" -o "$ROSDOC2_OUTPUT/" if [ -f "$package_doc_path" ]; then echo "- [$package_name](../$ROSDOC2_OUTPUT/$package_name/)" >> "$CPP_PACKAGES_MD" fi From 24e4adf8bf73fc11be222c24377eaa41853d9259 Mon Sep 17 00:00:00 2001 From: TechRufy Date: Sun, 19 Apr 2026 17:48:42 +0200 Subject: [PATCH 2/4] problem with protection --- .github/workflows/ci.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c5673cf30..e69bea62b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,9 +22,6 @@ concurrency: jobs: deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest defaults: run: @@ -118,9 +115,11 @@ jobs: cp -r "${{ steps.generate_docs.outputs.rosdoc2_output }}" ./site/ - name: Configure Git for Deployment + if: github.ref == 'refs/heads/main' run: | git config --global --add safe.directory /__w/ubm-docs/ubm-docs - name: Deploy with ghp-import + if: github.ref == 'refs/heads/main' run: | ghp-import --no-jekyll --push --force site From 9e5835fa624b9d77811f5b866e3d302d89ca15ab Mon Sep 17 00:00:00 2001 From: TechRufy Date: Sun, 19 Apr 2026 17:58:58 +0200 Subject: [PATCH 3/4] fix to the error in the dependencies --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e69bea62b..100193e71 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -77,6 +77,8 @@ jobs: # Build C++ packages docs with rosdoc2 echo "Building docs of C++ packages..." source /home/ubm/rosdoc2/bin/activate + # rosdoc2 pulls sphinx which requires docutils < 0.22. + python -m pip install "docutils>=0.20,<0.22" source /opt/ros/foxy/setup.bash echo "# C++ Packages" > "$CPP_PACKAGES_MD" echo "" >> "$CPP_PACKAGES_MD" From 27fc19f44e03aebd50202f4587d3781175a6fe35 Mon Sep 17 00:00:00 2001 From: TechRufy Date: Sun, 19 Apr 2026 18:08:44 +0200 Subject: [PATCH 4/4] fixed warning for the path --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 100193e71..eeae22452 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,7 +48,7 @@ jobs: - name: Cache pip dependencies uses: actions/cache@v3 with: - path: ~/.cache/pip + path: .pip-cache key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} restore-keys: | ${{ runner.os }}-pip-