From 93d91942c92f5b0a05c1210a6600a390c78fbdfc Mon Sep 17 00:00:00 2001 From: Yashu Mittal Date: Mon, 6 May 2019 10:25:21 +0530 Subject: [PATCH 1/6] Change dest directory to public --- .vuepress/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vuepress/config.js b/.vuepress/config.js index bc3b55c..9b7d878 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -1,7 +1,7 @@ module.exports = { title: 'Thermal', description: 'One stop. Git repository', - dest: "dist", + dest: "public", head: [ ['link', { rel: 'icon', href: '/images/favicon.png' }], ['meta', { name: 'keywords', content: 'thermal, thermal app, git thermal, thermal gui, thermal git, git gui' }], From ed6cb3d6e06e66087ddaac3f25da8611c64ab920 Mon Sep 17 00:00:00 2001 From: Yashu Mittal Date: Mon, 6 May 2019 10:25:42 +0530 Subject: [PATCH 2/6] Add now build script command --- package.json | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 2a469f9..f66da91 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,15 @@ { - "name": "thermal-website", - "version": "0.0.1", - "license": "MIT", - "scripts": { - "dev": "vuepress dev", - "build": "vuepress build" - }, - "devDependencies": { - "node-sass": "^4.11.0", - "sass-loader": "^7.1.0", - "vuepress": "^0.14.10" - } + "name": "thermal-website", + "version": "0.0.1", + "license": "MIT", + "scripts": { + "dev": "vuepress dev", + "build": "vuepress build", + "now-build": "vuepress build" + }, + "devDependencies": { + "node-sass": "^4.11.0", + "sass-loader": "^7.1.0", + "vuepress": "^0.14.10" + } } From 5ec025121791eb067a940755d208d8ff79452d8b Mon Sep 17 00:00:00 2001 From: Yashu Mittal Date: Mon, 6 May 2019 10:26:22 +0530 Subject: [PATCH 3/6] Add now configuration --- now.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 now.json diff --git a/now.json b/now.json new file mode 100644 index 0000000..2f0343e --- /dev/null +++ b/now.json @@ -0,0 +1,28 @@ +{ + "version": 2, + "name": "thermal-help", + "alias": "help.thermal", + "builds": [ + { + "src": "package.json", + "use": "@now/static-build", + "config": { + "distDir": "public" + } + } + ], + "scope": "thermal", + "regions": [ + "bom1", + "dub1", + "gru1", + "hnd1", + "syd1", + "sfo1" + ], + "github": { + "enabled": true, + "autoAlias": true, + "autoJobCancelation": false + } +} From 686d68e0985770423de72d46b2055cacd6108cca Mon Sep 17 00:00:00 2001 From: Yashu Mittal Date: Mon, 6 May 2019 10:26:26 +0530 Subject: [PATCH 4/6] Create .nowignore --- .nowignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .nowignore diff --git a/.nowignore b/.nowignore new file mode 100644 index 0000000..7aa6f9f --- /dev/null +++ b/.nowignore @@ -0,0 +1,2 @@ +node_modules +.netlify From 0a10fd00caa680953e5537bd693e95e22cf6fd63 Mon Sep 17 00:00:00 2001 From: Yashu Mittal Date: Mon, 6 May 2019 10:37:11 +0530 Subject: [PATCH 5/6] Remove .netlify directory --- .netlify/state.json | 3 --- .nowignore | 1 - 2 files changed, 4 deletions(-) delete mode 100644 .netlify/state.json diff --git a/.netlify/state.json b/.netlify/state.json deleted file mode 100644 index d0647c6..0000000 --- a/.netlify/state.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "siteId": "b43a062d-b342-4e98-847a-5e78d2e73fbb" -} \ No newline at end of file diff --git a/.nowignore b/.nowignore index 7aa6f9f..3c3629e 100644 --- a/.nowignore +++ b/.nowignore @@ -1,2 +1 @@ node_modules -.netlify From c0382f83db493578fabc403a2e40e52a6d8bb216 Mon Sep 17 00:00:00 2001 From: Yashu Mittal Date: Mon, 6 May 2019 10:37:28 +0530 Subject: [PATCH 6/6] Change site name to thermal-docs --- now.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/now.json b/now.json index 2f0343e..71a7c16 100644 --- a/now.json +++ b/now.json @@ -1,7 +1,7 @@ { "version": 2, - "name": "thermal-help", - "alias": "help.thermal", + "name": "thermal-docs", + "alias": "docs.thermal", "builds": [ { "src": "package.json",