From 154d8470ab686dd8b10df729d0a84a16e87f20d2 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 12 Jul 2022 10:00:08 +0200 Subject: [PATCH] feat: remove netlify --- docs/scripts/netlify-run.sh | 16 ---------------- netlify.toml | 7 ------- 2 files changed, 23 deletions(-) delete mode 100755 docs/scripts/netlify-run.sh delete mode 100644 netlify.toml 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"