diff --git a/build.sh b/build.sh index 61b9f8404..4186d4b92 100644 --- a/build.sh +++ b/build.sh @@ -10,8 +10,8 @@ PARSER_VERSION=$4 # version of the parser to download # make examples - we don't need this for docs-landing, but have it here for when we change repos # cloning the content repo -echo "Cloning content repo: ${TESTING_REPO_NAME}" -git clone -b ${TESTING_BRANCH_NAME} https://github.com/${TESTING_ORGANIZATION}/${TESTING_REPO_NAME}.git +echo "Cloning content repo: ${TESTING_REPO_NAME}, ${TESTING_KEY}" +echo " this is the fifth arg $5" @@ -33,5 +33,6 @@ echo "========================================================================== echo GATSBY_MANIFEST_PATH=$(pwd)/bundle.zip export GATSBY_MANIFEST_PATH=$(pwd)/bundle.zip + # run the site npm run build:no-prefix diff --git a/netlify.toml b/netlify.toml index 3a4ac8875..9e877be0d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,11 +2,11 @@ name = "snooty-cache-plugin" [build] -publish = "public" -command = ". ./build.sh $ORG_NAME $REPO_NAME $BRANCH_NAME $PARSER_VERSION" +publish = "public/bi-connector" +command = ". ./build.sh $ORG_NAME $REPO_NAME $BRANCH_NAME $PARSER_VERSION $TESTING_KEY" [build.environment] ORG_NAME = "mongodb" -REPO_NAME = "docs-landing" +REPO_NAME = "docs-bi-connector" BRANCH_NAME = "master" -PARSER_VERSION = "0.18.6" \ No newline at end of file +PARSER_VERSION = "0.18.6"