Closed thany closed 10 years ago
Workaround:
remote_path: //var/www/keytec
I would say if it needs to be a relative path, it should start with anything other than a slash (like ./
or ../
or what have you, or a directory name). Absolute paths start with a single slash, as far as I'm aware.
The problem was that I was stripping out leading forward slashes on the remote_path
. I've removed that code so this should work fine with #21 is merged.
Here's the relevant part of my _deploy.yml:
And the error:
It seems it tries /var/www/keytec as a path relative from the user's home directory, even though it starts with a slash - which indicates it is an absolute path.