diff options
| author | Monty Taylor <mordred@inaugust.com> | 2015-08-01 10:04:02 +1000 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2015-08-01 10:04:02 +1000 |
| commit | cd63f3c0edf3b318ff55d294bce474d550d5f402 (patch) | |
| tree | 7864ae9b82d0b7dd16b3256d4407b4ae22e32efb | |
| parent | 816c90235ed3393b72fc2344457a105971049b5b (diff) | |
Fix rsync releasing
| -rw-r--r-- | gulpfile.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js index 612ebee..77664c9 100644 --- a/gulpfile.js +++ b/gulpfile.js | |||
| @@ -300,11 +300,12 @@ | |||
| 300 | 'package:images', 'package:css', 'package:js']); | 300 | 'package:images', 'package:css', 'package:js']); |
| 301 | 301 | ||
| 302 | gulp.task('rsync', function () { | 302 | gulp.task('rsync', function () { |
| 303 | gulp.src('dest/**') | 303 | gulp.src(dir.dist) |
| 304 | .pipe(rsync({ | 304 | .pipe(rsync({ |
| 305 | root: 'dest', | 305 | root: dir.dist, |
| 306 | hostname: 'kleos.inaugust.com', | 306 | hostname: 'kleos.inaugust.com', |
| 307 | destination: '/var/www/inaugust.com/talks' | 307 | destination: '/var/www/inaugust.com', |
| 308 | recursive: true | ||
| 308 | })); | 309 | })); |
| 309 | }); | 310 | }); |
| 310 | /** | 311 | /** |
