github: Add debug to try diagnose workflow failure
The doc publish workflow is failing in the AWS S3 push. Add more debug output in that section to see what's going on. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
b470fe54ea
commit
bf3850c270
1 changed files with 9 additions and 3 deletions
12
.github/workflows/doc-publish.yml
vendored
12
.github/workflows/doc-publish.yml
vendored
|
@ -95,11 +95,17 @@ jobs:
|
|||
run: |
|
||||
echo "DOC_RELEASE=[$RELEASE]"
|
||||
if [ "$RELEASE" == "latest" ]; then
|
||||
aws s3 sync --quiet doc/_build/html s3://docs.zephyrproject.org/latest --delete
|
||||
echo "publish latest docs"
|
||||
aws s3 sync doc/_build/html s3://docs.zephyrproject.org/latest --delete
|
||||
echo "success sync of latest docs"
|
||||
else
|
||||
DOC_RELEASE=${RELEASE}.0
|
||||
aws s3 sync --quiet doc/_build/html s3://docs.zephyrproject.org/${DOC_RELEASE}
|
||||
echo "publish release docs: ${DOC_RELEASE}"
|
||||
aws s3 sync doc/_build/html s3://docs.zephyrproject.org/${DOC_RELEASE}
|
||||
echo "success sync of rel docs"
|
||||
fi
|
||||
if [ -d doc/_build/doxygen/html ]; then
|
||||
aws s3 sync --quiet doc/_build/doxygen/html s3://docs.zephyrproject.org/apidoc/${RELEASE} --delete
|
||||
echo "publish doxygen"
|
||||
aws s3 sync doc/_build/doxygen/html s3://docs.zephyrproject.org/apidoc/${RELEASE} --delete
|
||||
echo "success publish of doxygen"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue