]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add deploy for beta
authorKevin Ball <kmball11@gmail.com>
Mon, 8 May 2017 22:00:49 +0000 (15:00 -0700)
committerKevin Ball <kmball11@gmail.com>
Mon, 8 May 2017 22:00:49 +0000 (15:00 -0700)
gulp/tasks/deploy.js
package.json

index be891f78f19e52920cda946bbdb9b764167c7d26..0124e3f8e94220cce48a82cb0b9d6ee548dd34bf 100644 (file)
@@ -115,8 +115,21 @@ gulp.task('deploy:docs', ['build'], function() {
       hostname: 'deployer@72.32.134.77',
       destination: '/home/deployer/sites/foundation-sites-6-docs'
     }));
+  });
+
+// Uploads the documentation to the live server in beta env
+gulp.task('deploy:beta', ['build'], function() {
+  return gulp.src('./_build/**')
+    .pipe(confirm('Make sure everything looks right before you deploy.'))
+    .pipe(rsync({
+      root: './_build',
+      hostname: 'deployer@72.32.134.77',
+      destination: '/home/deployer/sites/scalingsexiness/foundation-sites-6-docs'
+    }));
 });
 
+
+
 // This part of the deploy process hasn't been tested! It should be done manually for now
 gulp.task('deploy:templates', function(done) {
   // exec('git clone https://github.com/zurb/foundation-sites-template');
index 963a03a7437c4154d58f3f5c2496cc275dc0e1b3..8d6a2fe4255999c523bfd7f9852eae5e0b0b70d3 100644 (file)
@@ -14,7 +14,8 @@
     "test:visual": "gulp test",
     "deploy": "gulp deploy",
     "deploy:prep": "gulp deploy:prep",
-    "deploy:docs": "gulp deploy:docs"
+    "deploy:docs": "gulp deploy:docs",
+    "deploy:beta": "gulp deploy:beta"
   },
   "dependencies": {
     "jquery": ">=2.2.0",