From 090be59002c80ae7473509c915b60302ecedadf8 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 29 Jun 2020 14:41:52 +0200 Subject: [PATCH 1/3] deploy --- .github/workflows/deploy.yml | 21 +++++++++++++++++++++ CNAME | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..0ed9f6de9 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,21 @@ +name: Deploy + +on: + push: + branches: + - master + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: npm install, build, and test + run: | + ./deploy.sh diff --git a/CNAME b/CNAME index c905a51f3..60b0705a1 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -docs-staging.n8n.io \ No newline at end of file +docs.n8n.io From e1c8ec46a577d6bc552349ebab26d3c7b4658fb3 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 29 Jun 2020 14:47:51 +0200 Subject: [PATCH 2/3] :zap: Add Google Analytics --- docs/.vuepress/config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index e93352b19..136fc78ff 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -42,12 +42,12 @@ module.exports = { 'vuepress-plugin-code-copy', true, ], - // [ - // '@vuepress/google-analytics', - // { - // 'ga': '', // UA-00000000-0 - // }, - // ], + [ + '@vuepress/google-analytics', + { + 'ga': 'UA-146470481-3', + }, + ], ], themeConfig: { repo: 'n8n-io/n8n', From 928f9d08edbbd06113ebf22fb6f3b4308866ad68 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 13 Jul 2020 07:23:30 +0200 Subject: [PATCH 3/3] :zap: Add missing redirect --- docs/.vuepress/enhanceApp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js index 9174efdae..2bf0471cd 100644 --- a/docs/.vuepress/enhanceApp.js +++ b/docs/.vuepress/enhanceApp.js @@ -60,7 +60,8 @@ export default ({ router, siteData }) => { '#/nodes?id=difference-between-both-nodes' : 'reference/function-nodes.html#difference-between-both-nodes', '#/nodes?id=function-node' : 'reference/function-nodes.html#function-node', '#/nodes?id=variable-items' : 'reference/function-nodes.html#variable-items', - '#/nodes?id=method-itemindex-number-runindex-number' : 'reference/function-nodes.html#method-itemindex-number-runindex-number', + '#/nodes?id=method-itemindex': 'reference/function-nodes.html#method-item-index-number-runindex-number', + '#/nodes?id=method-itemindex-number-runindex-number': 'reference/function-nodes.html#method-item-index-number-runindex-number', '#/nodes?id=method-itemsnodename-string-outputindex-number-runindex-number' : 'reference/function-nodes.html#method-itemsnodename-string-outputindex-number-runindex-number', '#/nodes?id=variable-node' : 'reference/function-nodes.html#variable-node', '#/nodes?id=variable-runindex' : 'reference/function-nodes.html#variable-runindex',