diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..3b48999 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,20 @@ +[build] + command = "npm run build-all-themes" + +[context.2022] + publish = "builds/2022/" + +[context.2021] + publish = "builds/2021/" + +[context.2020] + publish = "builds/2020/" + +[context.2019] + publish = "builds/2019/" + +[context.2018] + publish = "builds/2018/" + +[context.2016] + publish = "builds/2017/" diff --git a/package.json b/package.json index 89be4cd..c19eb69 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", + "build-all-themes": "./build-all.sh", "build-theme": "./build-one.sh" }, "dependencies": {