From e37f016ac45d3ba056e4eed6124ff3adfab1e59c Mon Sep 17 00:00:00 2001 From: alxp Date: Sun, 30 Jun 2024 21:28:14 -0300 Subject: [PATCH] update --- Makefile | 5 +++++ netlify.toml | 4 ++++ netlify_headers | 2 ++ src/content/docs/guia/Schedule/schedule.md | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 Makefile create mode 100644 netlify_headers diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b2e8af5 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +production: + middleman contentful && middleman build +​ +deploy_preview: + middleman contentful && middleman build && cp netlify_headers _site/_headers \ No newline at end of file diff --git a/netlify.toml b/netlify.toml index 8dcd554..79ae9e5 100644 --- a/netlify.toml +++ b/netlify.toml @@ -5,4 +5,8 @@ [[headers]] for = "/*" +[context.production] + command = "make production" +[context.branch-deploy] + command = "make deploy_preview" diff --git a/netlify_headers b/netlify_headers new file mode 100644 index 0000000..4d0d3e5 --- /dev/null +++ b/netlify_headers @@ -0,0 +1,2 @@ +/* + Basic-Auth: login:password \ No newline at end of file diff --git a/src/content/docs/guia/Schedule/schedule.md b/src/content/docs/guia/Schedule/schedule.md index 2ce4df2..5c601b5 100644 --- a/src/content/docs/guia/Schedule/schedule.md +++ b/src/content/docs/guia/Schedule/schedule.md @@ -9,7 +9,7 @@ O Schedule cuida do agendamento dos valores dos brilhos dos displays de acordo c ### O Schedule (Configuração de Brilho) -![Interface de Comandos Eletromidias](https://intercomelt.netlify.app/assets/images/schedule.jpg) +![Interface de Comandos Eletromidia](https://intercomelt.netlify.app/assets/images/schedule.jpg) Uma regua deslizadora permite que os ajustes de brilho sejam selecionados manualmente pelo operador da interface de comando. \ No newline at end of file