github: add more debug to see why aws sync is failing

For some reason the aws s3 sync fails, but not sure exactly why.  Adding
more debug to see if we can understand what's going on.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-02-15 16:41:20 -06:00 committed by Kumar Gala
commit ac484f2f39

View file

@ -97,17 +97,18 @@ jobs:
run: |
echo "DOC_RELEASE=[$RELEASE]"
if [ "$RELEASE" == "latest" ]; then
export
echo "publish latest docs"
aws s3 sync doc/_build/html s3://docs.zephyrproject.org/latest --delete
aws --debug s3 sync --quiet doc/_build/html s3://docs.zephyrproject.org/latest --delete
echo "success sync of latest docs"
else
DOC_RELEASE=${RELEASE}.0
echo "publish release docs: ${DOC_RELEASE}"
aws s3 sync doc/_build/html s3://docs.zephyrproject.org/${DOC_RELEASE}
aws --debug s3 sync --quiet doc/_build/html s3://docs.zephyrproject.org/${DOC_RELEASE}
echo "success sync of rel docs"
fi
if [ -d doc/_build/doxygen/html ]; then
echo "publish doxygen"
aws s3 sync doc/_build/doxygen/html s3://docs.zephyrproject.org/apidoc/${RELEASE} --delete
aws --debug s3 sync --quiet doc/_build/doxygen/html s3://docs.zephyrproject.org/apidoc/${RELEASE} --delete
echo "success publish of doxygen"
fi