<commit_before>#!/bin/bash

set -e

DOCS_DIR=generated/docs
CHECKOUT_DIR=../envoy-docs
PUBLISH_DIR="$CHECKOUT_DIR"/envoy-docs/latest
BUILD_SHA=`git rev-parse HEAD`

if [ -z "$CIRCLE_PULL_REQUEST" ] && [ "$CIRCLE_BRANCH" == "master" ]
then
  echo 'cloning'
  git clone <EMAIL>:envoyproxy/envoyproxy.github.io "$CHECKOUT_DIR"

  git -C "$CHECKOUT_DIR" fetch
  git -C "$CHECKOUT_DIR" checkout -B master origin/master
  rm -fr "$PUBLISH_DIR"
  mkdir -p "$PUBLISH_DIR"<commit_msg>docs: change publish path (#235)<commit_after>#!/bin/bash

set -e

DOCS_DIR=generated/docs
CHECKOUT_DIR=../envoy-docs
PUBLISH_DIR="$CHECKOUT_DIR"/docs/envoy/latest
BUILD_SHA=`git rev-parse HEAD`

if [ -z "$CIRCLE_PULL_REQUEST" ] && [ "$CIRCLE_BRANCH" == "master" ]
then
  echo 'cloning'
  git clone <EMAIL>:envoyproxy/envoyproxy.github.io "$CHECKOUT_DIR"

  git -C "$CHECKOUT_DIR" fetch
  git -C "$CHECKOUT_DIR" checkout -B master origin/master
  rm -fr "$PUBLISH_DIR"
  mkdir -p "$PUBLISH_DIR"
{'fraction_non_alphanumeric': 0.15273477812177502, 'fraction_numerical': 0.0030959752321981426, 'mean_word_length': 4.808383233532934, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2305479', 'n_tokens_mistral': 411, 'n_tokens_neox': 378, 'n_words': 79}