1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-05 21:45:25 +02:00

feat(docs): 👷 add netlify.toml for docs

Add netlify.toml file for automated deployed of documentation on netlify
This commit is contained in:
hay-kot 2021-08-04 09:41:04 -08:00
parent 5ee0a57163
commit 84043f8235
2 changed files with 11 additions and 1 deletions

View file

@ -16,7 +16,7 @@
"cSpell.words": ["compression", "hkotel", "performant", "postgres", "webp"],
"search.mode": "reuseEditor",
"python.linting.flake8Enabled": true,
"conventionalCommits.scopes": ["frontend"],
"conventionalCommits.scopes": ["frontend", "docs"],
"editor.formatOnSave": true,
"eslint.workingDirectories": ["./frontend"],
"editor.codeActionsOnSave": {

10
netlify.toml Normal file
View file

@ -0,0 +1,10 @@
[build]
publish = "docs/site/"
command = """
restore_home_cache ".cache" "pip cache" &&
restore_cwd_cache '.venv' 'python virtualenv' &&
pip3 install -q poetry &&
poetry config settings.virtualenvs.in-project true &&
poetry install &&
poetry run mkdocs build
"""