Build new docs when publishing tagged releases.
These changes wire up a new script that clones
regenerates the appropriate parts of the
docs site, and opens a pull request with the changes. This script
executes on any build in which we publish packages that _also_ has a tag
present.
@@ -34,6 +34,8 @@ if [[ "${TRAVIS_PUBLISH_PACKAGES:-}" == "true" ]]; then
"${ROOT}/sdk/python/env/src/dist"/*.whl
"${ROOT}/scripts/build-and-publish-docker" "${NPM_VERSION}"
+
+ "$(go env GOPATH)/src/github.com/pulumi/scripts/ci/build-package-docs.sh" pulumi
fi
exit 0
