[ci] Fix docs deployment Trigger build on tag pushes, and simplify the condition for calling .ci/deploy-docs.sh.