I've had previous issues with rsync, but moved the site to another server where we've restricted access by port (i.e. not 22) and am getting another error. My setup:
deploy:
default:
kind: rsync
dst: 'username@SERVERIPADDRESS:PORT/home/user/webapps/html'
I'm using a high-numbered port specified in the address (:PORT), but getting the following error:
exit status: 255
stdout: Nothing written
stderr: ssh: connect to host SERVERIPADDRESS= port 22: Connection refused
although the correct port is specified in the dst value, it seems to be ignored - is there a way to specify the port in nanoc.yaml?
To confirm: I can SSH in on the command-line using these credentials.
Places I've looked:
Or would I be better going all the way with GIT? We've used GIT for pushing other non-nanoc sites to the same server, but the GIT repo for this site (current single remote on GitHub) covers the entire nanoc folder, excluding "output" - for now I'd rather to avoid the complexity of fiddling with the 'output' directory to make it a separate repo - unless there's an easier way.