Skip to content

Commit

Permalink
build: comment out major doc deploy for now (#235)
Browse files Browse the repository at this point in the history
comment out major doc deploy for now
  • Loading branch information
hborawski authored Nov 15, 2023
1 parent a6ff246 commit f3201bc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ elif [ "$RELEASE_TYPE" == "release" ] && [ "$CURRENT_BRANCH" == "main" ]; then
STABLE_DOCS_BASE_PATH=latest bazel run --verbose_failures --config=release //docs:deploy_docs -- --dest_dir latest
fi

# Commented out for now due to failures to deploy
# causes lots of "java.io.IOException: io.grpc.StatusRuntimeException: CANCELLED: Failed to read message." messages in the build
# Also deploy to the versioned folder for main releases
if [ "$RELEASE_TYPE" == "release" ]; then
SEMVER_MAJOR=$(cat VERSION | cut -d. -f1)
STABLE_DOCS_BASE_PATH=$SEMVER_MAJOR bazel run --verbose_failures --config=release //docs:deploy_docs -- --dest_dir "$SEMVER_MAJOR"
fi
# if [ "$RELEASE_TYPE" == "release" ]; then
# SEMVER_MAJOR=$(cat VERSION | cut -d. -f1)
# STABLE_DOCS_BASE_PATH=$SEMVER_MAJOR bazel run --verbose_failures --config=release //docs:deploy_docs -- --dest_dir "$SEMVER_MAJOR"
# fi

0 comments on commit f3201bc

Please sign in to comment.