mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-24 16:41:47 +00:00
Specify netlify build
Addresses: #1135 Follow https://www.starfallprojects.co.uk/posts/deploy-mkdocs-netlify/ to eventually fix #1135. I realise this litters the main directory somewhat, but I hope that once the publication fully works and we turn the site into redirects, we can remove these files again. So only a temporary measure. Signed-off-by: Daniel Holbach <daniel@weave.works>
This commit is contained in:
parent
6a37649ee6
commit
b6ce969d1b
4 changed files with 9 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -19,3 +19,6 @@ dist/
|
||||||
bin/
|
bin/
|
||||||
output/
|
output/
|
||||||
cmd/flux/manifests/
|
cmd/flux/manifests/
|
||||||
|
|
||||||
|
# Docs
|
||||||
|
site/
|
||||||
|
|
|
||||||
3
netlify.toml
Normal file
3
netlify.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[build]
|
||||||
|
command = "mkdocs build"
|
||||||
|
publish = "site"
|
||||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
mkdocs==1.1.2
|
||||||
|
mkdocs-material==7.1.3
|
||||||
1
runtime.txt
Normal file
1
runtime.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
3.7
|
||||||
Loading…
Reference in a new issue