Skip to content

Commit d28a19b

Browse files
authored
fix(update-documentation): fix path to update-documentation.sh
1 parent cb36fa8 commit d28a19b

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

upload-documentation/upload-documentation.sh

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ if `git fetch --depth=1 origin gh-pages:gh-pages`; then
1515
then
1616
cp -r doc/pictures build/doc/doxygen-html/
1717
fi
18-
cd build/doc && $GITHUB_WORKSPACE/cmake/github/update-doxygen-doc.sh -r $GITHUB_WORKSPACE -b $GITHUB_WORKSPACE/build
19-
cd build/doc && \
20-
# old jrl-cmakemodules as submodules
21-
if [ -x "$GITHUB_WORKSPACE/cmake/github/update-doxygen-doc.sh" ]; then \
22-
"$GITHUB_WORKSPACE/cmake/github/update-doxygen-doc.sh" -r "$GITHUB_WORKSPACE" -b "$GITHUB_WORKSPACE/build"; \
23-
elif [ -x "$GITHUB_WORKSPACE/build/_deps/jrl-cmakemodules-src/github/update-doxygen-doc.sh" ]; then \
24-
# jrl-cmakemodules v1.1.2
25-
"$GITHUB_WORKSPACE/build/_deps/jrl-cmakemodules-src/github/update-doxygen-doc.sh" -r "$GITHUB_WORKSPACE" -b "$GITHUB_WORKSPACE/build"; \
26-
else
27-
echo "Error: the script update-doxygen-doc.sh was not found, does the project use jrl-cmakemodules?"
28-
fi
18+
# old jrl-cmakemodules as submodules
19+
if [ -x "$GITHUB_WORKSPACE/cmake/github/update-doxygen-doc.sh" ]; then \
20+
"$GITHUB_WORKSPACE/cmake/github/update-doxygen-doc.sh" -r "$GITHUB_WORKSPACE" -b "$GITHUB_WORKSPACE/build"; \
21+
elif [ -x "$GITHUB_WORKSPACE/build/_deps/jrl-cmakemodules-src/github/update-doxygen-doc.sh" ]; then \
22+
# jrl-cmakemodules v1.1.2
23+
"$GITHUB_WORKSPACE/build/_deps/jrl-cmakemodules-src/github/update-doxygen-doc.sh" -r "$GITHUB_WORKSPACE" -b "$GITHUB_WORKSPACE/build"; \
24+
else
25+
echo "Error: the script update-doxygen-doc.sh was not found, does the project use jrl-cmakemodules?"
26+
fi
2927
fi

0 commit comments

Comments
 (0)