mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
fix: add link to netlify (#1990)
This commit is contained in:
parent
7c3de06bda
commit
a95535008b
2
.github/workflows/docs-preview-prepare.yml
vendored
2
.github/workflows/docs-preview-prepare.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
||||||
working-directory: docs
|
working-directory: docs
|
||||||
env:
|
env:
|
||||||
PREVIEW_URL: 'https://${NETLIFY_SITE_PREFIX}--${NETLIFY_SITE_NAME}.netlify.app/'
|
PREVIEW_URL: 'https://${NETLIFY_SITE_PREFIX}--${NETLIFY_SITE_NAME}.netlify.app/'
|
||||||
NETLIFY_BRANDING: '<img alt="Deploys by Netlify" src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" style="float: right;">'
|
NETLIFY_BRANDING: '<a href="https://www.netlify.com/"><img alt="Deploys by Netlify" src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" style="float: right;"></a>'
|
||||||
run: |
|
run: |
|
||||||
# Adjust mkdocs.yml for preview build
|
# Adjust mkdocs.yml for preview build
|
||||||
sed -i "s|^site_url:.*|site_url: '${PREVIEW_URL}'|" mkdocs.yml
|
sed -i "s|^site_url:.*|site_url: '${PREVIEW_URL}'|" mkdocs.yml
|
||||||
|
|
Loading…
Reference in a new issue