This commit is contained in:
Tanay Pant
2020-07-13 11:11:55 +02:00
4 changed files with 30 additions and 8 deletions

21
.github/workflows/deploy.yml vendored Normal file
View File

@@ -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

2
CNAME
View File

@@ -1 +1 @@
docs-staging.n8n.io
docs.n8n.io

View File

@@ -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',

View File

@@ -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',