Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test deploys #1313

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
5 changes: 3 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"



Expand All @@ -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
8 changes: 4 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
PARSER_VERSION = "0.18.6"
Loading