generated from cncf/hugo-netlify-starter
-
Notifications
You must be signed in to change notification settings - Fork 39
/
netlify.toml
12 lines (9 loc) · 1.46 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
[build]
publish = "public"
command = "wget https://github.com/jgm/pandoc/releases/download/3.4/pandoc-3.4-linux-amd64.tar.gz && tar xvzf pandoc-3.4-linux-amd64.tar.gz --strip-components 1 && wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip && unzip context-linux-64.zip && chmod +x install.sh && ./install.sh && export PATH=/opt/build/repo/tex/texmf-linux-64/bin:$PATH && hugo && chmod +x generateDocFormats.sh && ls -al && ./generateDocFormats.sh public/word-lists"
[build.environment]
HUGO_VERSION = "0.111.3"
[context.deploy-preview]
command = "wget https://github.com/jgm/pandoc/releases/download/3.4/pandoc-3.4-linux-amd64.tar.gz && tar xvzf pandoc-3.4-linux-amd64.tar.gz --strip-components 1 && wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip && unzip context-linux-64.zip && chmod +x install.sh && ./install.sh && export PATH=/opt/build/repo/tex/texmf-linux-64/bin:$PATH && hugo && chmod +x generateDocFormats.sh && ls -al && ./generateDocFormats.sh public/word-lists"
[context.branch-deploy]
command = "wget https://github.com/jgm/pandoc/releases/download/3.4/pandoc-3.4-linux-amd64.tar.gz && tar xvzf pandoc-3.4-linux-amd64.tar.gz --strip-components 1 && wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip && unzip context-linux-64.zip && chmod +x install.sh && ./install.sh && export PATH=/opt/build/repo/tex/texmf-linux-64/bin:$PATH && hugo && chmod +x generateDocFormats.sh && ls -al && ./generateDocFormats.sh public/word-lists"