Fix Netlify build error

This commit is contained in:
Jonah Aragon 2024-02-28 23:54:57 -06:00
parent df13d33a09
commit 5d76e2ae0b
No known key found for this signature in database

View File

@ -23,7 +23,7 @@
command = "mkdocs build --config-file config/mkdocs.en.yml && cp -r static/* site/" command = "mkdocs build --config-file config/mkdocs.en.yml && cp -r static/* site/"
[context.production] [context.production]
command = "git clone https://github.com/privacyguides/i18n i18n-download && cp -rl i18n-download/i18n . && cp -rl i18n-download/includes . && cp -rl i18n-download/theme . && mkdocs build --config-file config/mkdocs.en.yml && mkdocs build --config-file config/mkdocs.es.yml && mkdocs build --config-file config/mkdocs.fr.yml && mkdocs build --config-file config/mkdocs.he.yml && mkdocs build --config-file config/mkdocs.it.yml && mkdocs build --config-file config/mkdocs.nl.yml && mkdocs build --config-file config/mkdocs.zh-Hant.yml && mkdocs build --config-file config/mkdocs.ru.yml && cp -r static/* site/" command = "rm -rf i18n-download || true && git clone https://github.com/privacyguides/i18n i18n-download && cp -rl i18n-download/i18n . && cp -rl i18n-download/includes . && cp -rl i18n-download/theme . && mkdocs build --config-file config/mkdocs.en.yml && mkdocs build --config-file config/mkdocs.es.yml && mkdocs build --config-file config/mkdocs.fr.yml && mkdocs build --config-file config/mkdocs.he.yml && mkdocs build --config-file config/mkdocs.it.yml && mkdocs build --config-file config/mkdocs.nl.yml && mkdocs build --config-file config/mkdocs.zh-Hant.yml && mkdocs build --config-file config/mkdocs.ru.yml && cp -r static/* site/"
[context.branch-deploy] [context.branch-deploy]
command = "crowdin download && for i in config/mkdocs.*.yml; do mkdocs build --config-file $i; done && cp -r static/* site/" command = "crowdin download && for i in config/mkdocs.*.yml; do mkdocs build --config-file $i; done && cp -r static/* site/"
@ -96,7 +96,7 @@
[[plugins.inputs.audits]] [[plugins.inputs.audits]]
path = "en/tools/index.html" path = "en/tools/index.html"
[[plugins.inputs.audits]] [[plugins.inputs.audits]]
path = "en/basics/why-privacy-matters/index.html" path = "en/basics/why-privacy-matters/index.html"