feat: remove netlify
This commit is contained in:
parent
c9520480c2
commit
154d8470ab
2 changed files with 0 additions and 23 deletions
|
@ -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
|
|
|
@ -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"
|
|
Loading…
Reference in a new issue