forked from Ivasoft/traefik
feat: remove netlify
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user