 gulp.task "rsync:downdry", () ->
   rsyncDown = {
     dest: conf.rsyncFolders.localFolder,
-    src: "#{pvt.username}@#{pvt.domain}:#{conf.rsyncFolders.hostFolder}"
+    src: "#{secrets.username}@#{secrets.domain}:#{conf.rsyncFolders.hostFolder}"
   }
   opts = extend rsyncDown, conf.ssh, conf.rsyncOpts, conf.rsyncDry
   rsync opts, (error, stdout, stderr, cmd) ->

# dry-run sync to prod
gulp.task "rsync:updry", ["build"], () ->
  rsyncUp = {
    dest: "#{pvt.username}@#{pvt.domain}:#{conf.rsyncFolders.hostFolder}"
    src: conf.rsyncFolders.localFolder,
  }
  opts = extend rsyncUp, conf.ssh, conf.rsyncOpts, conf.rsyncDry

gulp.task "rsync:up", ["build"], () ->
  rsyncUp = {
    src: conf.rsyncFolders.localFolder,
    dest: "#{secrets.username}@#{secrets.domain}:#{conf.rsyncFolders.hostFolder}"
  }
  opts = extend rsyncUp, conf.ssh, conf.rsyncOpts
  rsync opts, (error, stdout, stderr, cmd) ->
