configuring FTP credentials

James Peret 8 years ago
parent
commit
39c1703029
3 changed files with 4 additions and 9 deletions
  1. 0 6
      .ftppass
  2. 2 1
      .gitignore
  3. 2 2
      Gruntfile.js

+ 0 - 6
.ftppass

@@ -1,6 +0,0 @@
1
-{
2
-  "key1": {
3
-    "username": "root",
4
-    "password": "rdtatnjxxwfh"
5
-  }
6
-}

+ 2 - 1
.gitignore

@@ -2,4 +2,5 @@ node_modules
2 2
 dist
3 3
 .tmp
4 4
 bower_components
5
-.DS_Store
5
+.DS_Store
6
+.ftpass

+ 2 - 2
Gruntfile.js

@@ -123,13 +123,13 @@ module.exports = function(grunt) {
123 123
     'sftp-deploy': {
124 124
       build: {
125 125
         auth: {
126
-          host: '162.243.10.246',
126
+          host: 'j1x.co',
127 127
           port: 22,
128 128
           authKey: 'key1'
129 129
         },
130 130
         cache: 'sftpCache.json',
131 131
         src: 'dist',
132
-        dest: '/var/www/gofoundation',
132
+        dest: '/var/www/portfolio-james/public_html/',
133 133
         exclusions: ['/dist/**/.DS_Store', '/dist/**/Thumbs.db', 'dist/tmp'],
134 134
         serverSep: '/',
135 135
         concurrency: 4,