diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 20c3ff22a..8dbb8b6a5 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -318,7 +318,7 @@ module.exports = (grunt) -> # Direct sync compiled static files to remote server sync_server: - command: "rsync -avz --delete --progress <%= config.deploy.ignore_files %> <%= config.dist %>/ <%= config.deploy.sftp.host %>:<%= config.deploy.sftp.dest %> > rsync-sftp.log" + command: "rsync -avz -e 'ssh -p <%= config.deploy.sftp.port %>' --delete --progress <%= config.deploy.ignore_files %> <%= config.dist %>/ <%= config.deploy.sftp.user %>@<%= config.deploy.sftp.host %>:<%= config.deploy.sftp.dest %> > rsync-sftp.log" # Copy compiled static files to local directory for further post-process sync_local: diff --git a/_deploy.yml b/_deploy.yml index 8a5b99330..2ef090d29 100644 --- a/_deploy.yml +++ b/_deploy.yml @@ -6,7 +6,9 @@ ignore_files: --exclude=lab sftp: - host: caladbolg + user: rsync + port: 2233 + host: caladbolg.sparanoid.com dest: /srv/www/sparanoid.com/public_html s3_website: