diff --git a/docs/scripts/netlify-run.sh b/docs/scripts/netlify-run.sh deleted file mode 100755 index dac3f97b3..000000000 --- a/docs/scripts/netlify-run.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# -# This script is run in netlify environment to build and validate -# the website for documentation - -CURRENT_DIR="$(cd "$(dirname "${0}")" && pwd -P)" - -#### Build website -# Provide the URL for this deployment to Mkdocs -echo "${DEPLOY_PRIME_URL}" > "${CURRENT_DIR}/../CNAME" -sed -i "s#site_url:.*#site_url: ${DEPLOY_PRIME_URL}#" "${CURRENT_DIR}/../mkdocs.yml" - -# Build -mkdocs build - -exit 0 diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index 606175fa1..000000000 --- a/netlify.toml +++ /dev/null @@ -1,7 +0,0 @@ -[build] -# Path relative to the root of the repository -publish = "site" -base = "docs" - -# Path relative to the "base" directory -command = "sh -x scripts/netlify-run.sh"