diff --git a/Makefile b/Makefile deleted file mode 100644 index 970577d..0000000 --- a/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -production: - middleman contentful && middleman build -​ -deploy_preview: - middleman contentful && middleman build && cp netlify_headers _site/_headers diff --git a/_headers b/_headers index 4e1b186..c8f3e64 100644 --- a/_headers +++ b/_headers @@ -1,2 +1,2 @@ - /protected/* +/* Basic-Auth: USERNAME:hardware SECOND_USERNAME:123456 diff --git a/netlify.toml b/netlify.toml index 79ae9e5..b08a200 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,9 +4,4 @@ [[headers]] for = "/*" - -[context.production] - command = "make production" -[context.branch-deploy] - command = "make deploy_preview" - + diff --git a/netlify_headers b/netlify_headers deleted file mode 100644 index 4d0d3e5..0000000 --- a/netlify_headers +++ /dev/null @@ -1,2 +0,0 @@ -/* - Basic-Auth: login:password \ No newline at end of file