mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
CI: Fixed doc job failing on master while it should not
This commit is contained in:
9
.github/workflows/docs.yml
vendored
9
.github/workflows/docs.yml
vendored
@@ -207,5 +207,12 @@ jobs:
|
|||||||
echo ""
|
echo ""
|
||||||
echo "- Landing page: ${url}/"
|
echo "- Landing page: ${url}/"
|
||||||
echo "- C++ API: ${url}/api/latest/"
|
echo "- C++ API: ${url}/api/latest/"
|
||||||
[[ -n "${note}" ]] && { echo ""; echo "${note}"; }
|
# An `if` rather than `[[ ... ]] && { ... }`: as the last command in
|
||||||
|
# the group, a false test would make the group (and so the whole
|
||||||
|
# step) exit 1. `note` is empty on push, which failed every master
|
||||||
|
# run while pull requests passed.
|
||||||
|
if [[ -n "${note}" ]]; then
|
||||||
|
echo ""
|
||||||
|
echo "${note}"
|
||||||
|
fi
|
||||||
} >> "$GITHUB_STEP_SUMMARY"
|
} >> "$GITHUB_STEP_SUMMARY"
|
||||||
|
|||||||
Reference in New Issue
Block a user