Skip to content

Commit

Permalink
Fix CNAME for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatur authored and traefiker committed Sep 10, 2019
1 parent 9d871f9 commit 5a5bd59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ pages:
docs-package: pages
make -C $(CURDIR)/docs
cp -r $(CURDIR)/docs/site/* $(CURDIR)/pages/
cp $(CURDIR)/docs/CNAME $(CURDIR)/pages/CNAME

helm-package: helm-lint pages
helm package --app-version $(TAG_NAME) $(CURDIR)/helm/chart/maesh
Expand Down
6 changes: 3 additions & 3 deletions docs/scripts/netlify-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ CURRENT_DIR="$(cd "$(dirname "${0}")" && pwd -P)"

#### Build website
# Provide the URL for this deployment to Mkdocs
echo "${DEPLOY_PRIME_URL_CUSTOM}" > "${CURRENT_DIR}/../CNAME"
sed -i "s#site_url:.*#site_url: ${DEPLOY_PRIME_URL_CUSTOM}#" "${CURRENT_DIR}/../mkdocs.yml"
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
exit 0

0 comments on commit 5a5bd59

Please sign in to comment.